打包上线发布时出现一个错误
App Store Connect Operation Error
ERROR ITMS-90164: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. According to the provisioning profile, the bundle contains a key value that is not allowed: '[ ]' for the key 'com.apple.developer.icloud-container-identifiers' in 'Payload/XXXX.app/XXXX'."
App Store Connect Operation Error
ERROR ITMS-90211: "Invalid Code Signing Entitlements. The signature for your app bundle contains entitlement values that are not supported. Specifically, value '( ) [not an Array]' for the key 'com.apple.developer.icloud-container-identifiers' in 'Payload/XXXX.app/XXXX' is not supported."
解决办法
本来以为是证书配置的问题,折腾了好久,发现并不是。
删除entitlements文件的iCloud Container Identifiers 这一列空数组即可成功上传!