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

标签 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>

信息.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>它不能解决问题,

最佳答案

我没有注册 iCloud.$(CFBundleIdentifier)

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

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

关于iOS 应用程序在安装和中断安装期间显示错误警报,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48544997/

相关文章:

ios - 快速启动按钮单击计时器

ios - 如何快速解析 Json 文件以获取 2 个 Collection View ?

android - 用于应用程序下载和卸载计数 + 应用程序评级的 Google Play 商店 API

xamarin - 禁用 Xamarin 表单并显示事件指示器

java - 测试使用其他测试的内部 ContextConfiguration

android - 适用于 android 和 ios 的水平数字选择器

xaml - Xamarin Forms 中心网格水平

android - Xamarin,安卓。每次我在设备上运行该应用程序时,该应用程序都会被卸载然后重新安装。

java - 如何在 IntelliJ IDEA 中禁用 'Convert Java to Kotlin upon paste'?

php - 有没有办法在 php 结束标记后强制换行?> 当嵌入到 html 中时?