我使用自定义框架(Drawkit)完成了一个应用程序。一切正常。我试图将应用程序提交到应用商店。当我存档Mac App Store的应用程序时,我收到此错误。
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.:
989NCWK54P.com.username.InAppPurcahaseExampleMac' for the key 'com.apple.application-identifier' in 'SampleProject.app/Contents/MacOS/SampleProject'
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:
'989NCWK54P.com.username.InAppPurchaseExampleMac' for the key 'com.apple.application-identifier' in 'SampleProject.app/Contents/Resources/CGDrawKit.framework/Versions/A/GCDrawkit'
只有在我的应用程序中添加自定义框架时才会出现此错误,否则我没有收到此错误。我使用临时配置文件编译了Drawkit。此外,我的Entitlements文件中没有像"com.apple.application-identifier"
这样的密钥。我不知道如何解决此问题并将应用程序提交到应用商店。我尝试了Stackoverflow中给出的所有解决方案。