打包上線發布時出現一個錯誤
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 這一列空數組即可成功上傳!