iOS应用在安装和中断安装期间显示错误警报

时间:2018-01-31 14:51:00

标签: ios xamarin configuration provisioning-profile

我构建了AdHock版本的应用程序,但它不是对设备的影响。

enter image description here

我查看了ProvisionProfile它运作良好。

享权利:

<?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>com.apple.developer.icloud-container-identifiers</key>
        <array>
            <string>iCloud.$(CFBundleIdentifier)</string>
        </array>
        <key>com.apple.developer.icloud-services</key>
        <array>
            <string>CloudDocuments</string>
        </array>
        <key>com.apple.developer.ubiquity-container-identifiers</key>
        <array>
            <string>iCloud.$(CFBundleIdentifier)</string>
        </array>
        <key>com.apple.developer.icloud-container-environment</key>
        <array>
            <string>Production</string>
        </array>
        <key>keychain-access-groups</key>
        <array>
            <string>G9XDHMDJ7M.com.binw.Eco</string>
        </array>
    </dict>
</plist>

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>CFBundleDevelopmentRegion</key>
    <string>en,ru</string>
    <key>CFBundleLocalizations</key>
    <array>
        <string>ru</string>
    </array>

    <key>MinimumOSVersion</key>
    <string>7.0</string>
    <key>CFBundleDisplayName</key>
    <string>Economatica.iOS</string>
    <key>CFBundleVersion</key>
    <string>1.5.</string>
    <key>CFBundleShortVersionString</key>
    <string>1429</string>
    <key>UIPrerenderedIcon</key>
    <true/>
    <key>CFBundleName</key>
    <string>Economatica</string>
    <key>CFBundleIconFiles</key>
    <array/>
    <key>XSAppIconAssets</key>
    <string>Resources/Assets.xcassets/AppIcons.appiconset</string>
     <key>UILaunchStoryboardName</key>
    <string>LaunchScreen.storyboard</string>
    <key>XSLaunchImageAssets</key>
    <string>Resources/Assets.xcassets/LaunchImage.launchimage</string>
    <key>CFBundleIdentifier</key>
    <string>com.binw.eco</string>
</dict>
</plist>

我可以在日志中看到这些记录:

Jan 31 17:02:59 iPhone-5s-Dev installd(libmis.dylib)[45] <Notice>: entitlement '<private>' has value not permitted by provisioning profile '<private>'

Jan 31 17:02:59 iPhone-5s-Dev installcoordinationd[100] <Notice>: -[IXSClientConnection _client_promiseWithUUID:didCancelWithReason:client:]: Client <private> was not interested in UUID <private>

您可以看到完整日志:https://gist.github.com/maukur/6ca08e64c726dfc1c357f61e4f35b5cc

我也尝试删除keychain-access-groups块, 或者将<string>G9XDHMDJ7M.com.binw.Eco</string>替换为<string>com.binw.Eco</string>它无法解决问题,

1 个答案:

答案 0 :(得分:1)

我没有注册iCloud.$(CFBundleIdentifier)

我删除了Entitlements和部署到设备的应用的所有记录。

我也可以注册iCloud.$(CFBundleIdentifier),它也必须有效。