尝试在设备上安装应用程序 (ipa) 时出现以下错误:
entitlement 'com.apple.developer.ubiquity-container-identifiers' has value not permitted by provisioning profile 'XXXXXXXXXX'
在我使用新证书生成新的配置文件后,此错误开始出现。如果有帮助,下面是旧配置文件和新配置文件的不同部分。
老的:
<key>Entitlements</key>
<dict>
<key>application-identifier</key>
<string>FSKCIFJNWO.com.XXXXX.YYYY</string>
<key>aps-environment</key>
<string>production</string>
<key>com.apple.developer.ubiquity-container-identifiers</key>
<array>
<string>FSKCIFJNWO.*</string>
</array>
<key>com.apple.developer.ubiquity-kvstore-identifier</key>
<string>FSKCIFJNWO.*</string>
<key>get-task-allow</key>
<false/>
<key>keychain-access-groups</key>
<array>
<string>FSKCIFJNWO.*</string>
</array>
</dict>
...
新的:
<key>Entitlements</key>
<dict>
<key>keychain-access-groups</key>
<array>
<string>FSKCIFJNWO.*</string>
</array>
<key>get-task-allow</key>
<false/>
<key>application-identifier</key>
<string>FSKCIFJNWO.com.XXXXX.YYYY</string>
<key>com.apple.developer.ubiquity-kvstore-identifier</key>
<string>FSKCIFJNWO.*</string>
<key>com.apple.developer.icloud-services</key>
<string>*</string>
<key>com.apple.developer.icloud-container-environment</key>
<array>
<string>Development</string>
<string>Production</string>
</array>
<key>com.apple.developer.icloud-container-identifiers</key>
<array>
</array>
<key>com.apple.developer.icloud-container-development-container-identifiers</key>
<array>
</array>
<key>com.apple.developer.ubiquity-container-identifiers</key>
<array>
</array>
<key>com.apple.developer.team-identifier</key>
<string>FSKCIFJNWO</string>
<key>aps-environment</key>
<string>production</string>
</dict>
...
也许我在生成配置文件时做错了什么。问题:你知道如何解决这个问题吗?