在审核您的扩展程序时,我们发现Info.plist在提交给Safari扩展程序库时缺少“网站”字段

时间:2018-10-29 09:16:52

标签: safari macos-high-sierra safari-extension dmg

在Safari扩展程序库中提交safari扩展程序时,我收到了查询。在对您的扩展程序进行审查时,我们发现Info.plist缺少“网站”字段。

plist文件中已经提到了URL。

info.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Author</key>
    <string>OpenText</string>
    <key>Builder Version</key>
    <string>13606.2.104</string>
    <key>CFBundleDisplayName</key>
    <string>DCMExtension</string>
    <key>CFBundleIdentifier</key>
    <string>com.emc.documentum.CTF</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleShortVersionString</key>
    <string>1.1</string>
    <key>CFBundleVersion</key>
    <string>1</string>
    <key>Chrome</key>
    <dict>
        <key>Global Page</key>
        <string>global.html</string>
    </dict>
    <key>Content</key>
    <dict>
        <key>Scripts</key>
        <dict>
            <key>End</key>
            <array>
                <string>ContentScript.js</string>
            </array>
        </dict>
    </dict>
    <key>Description</key>
    <string>Assists in content transfer of files in xCP, D2 and Webtop applications</string>
    <key>DeveloperIdentifier</key>
    <string>4B9GHJ9X43</string>
    <key>ExtensionInfoDictionaryVersion</key>
    <string>1.0</string>
    <key>Permissions</key>
    <dict>
        <key>Website Access</key>
        <dict>
            <key>Include Secure Pages</key>
            <true/>
            <key>Level</key>
            <string>All</string>
        </dict>
    </dict>
    <key>URL</key>
    <string>https://raw.github.com/d2user/safari/master/DCMExtension.safariextz</string>
    <key>Update From Gallery</key>
    <true/>
</dict>
</plist>

我只是有一个疑问,在提交扩展程序时,它正在以提交形式询问网站 submission in safari extension gallery

我将网站保留为空白,这是造成问题的原因,我是否仅需提及产品的网站或我们从何处下载它。

info.plist中是否也有引用?任何提示!!

1 个答案:

答案 0 :(得分:0)

我们需要在info.plist中添加网站

<key>Website</key>
<string>https://github.com/spadin/js-beautify-safari-extension</string>

https://github.com/spadin/js-beautify-safari-extension/blob/master/Info.plist