错误 ITMS-90163:“无效的代码签名权利 - Phonegap 构建

ERROR ITMS-90163: "Invalid Code Signing Entitlements - Phonegap Build

我在使用 PhoneGap 构建的应用程序中遇到这些错误。用 phonegap 寻找这个问题,但找不到任何东西。

错误 ITMS-90163:"Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. The bundle contains a key that is not included in the provisioning profile: 'com.apple.developer.icloud-container-environment' in 'Payload/LatInc.app/'."

    ERROR ITMS-90211: "Invalid Code Signing Entitlements. The signature for your app bundle contains entitlement values that are not supported. For the 'com.apple.developer.ubiquity-container-identifiers' entitlement, the values in the array must start with the prefix provided by Apple in the provisioning profile, followed by characters that are uppercase or lowercase Roman letters [A-Z, a-z], the digits 0 through 9, dot ['.'], or hyphen ['-'], and not contain any wildcard characters. Specifically, value '3222A74EAQ.*' for the key 'com.apple.developer.ubiquity-container-identifiers' in 'Payload/.app/' is not supported."
    ERROR ITMS-90211: "Invalid Code Signing Entitlements. The signature for your app bundle contains entitlement values that are not supported. For the com.apple.developer.ubiquity-kvstore-identifier entitlement, the value must start with the prefix provided by Apple in the provisioning profile, followed by characters that are uppercase or lowercase Roman letters [A-Z, a-z], the digits 0 through 9, dot ['.'], or hyphen ['-'], and not contain any wildcard characters. Specifically, value '3222A74EAQ.*' for the key 'com.apple.developer.ubiquity-kvstore-identifier' in 'Payload/LatInc.app/' is not supported."

问题在于您的包名称与您的配置文件包名称(包标识符)不同。

所以请将包名称更改为包标识符。