我构建了 AdHock 版本的应用程序,但它没有安装到设备。
我检查了 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/