添加注释权限后获取无效的代码签名权利 (iOS 13)

Getting Invalid Code Signing Entitlements after add note permission (iOS 13)

我需要添加 com.apple.developer.contacts.notes 并更改为手动签名,因为 iOS 13(我获得了 Apple 许可)。我可以存档一个版本,但是当我尝试将它发送到 App Store 时,我得到:

错误 ITMS-90045:"Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, key 'com.apple.application-identifier' in 'Payload/AppNAME.app/AppName' is not supported."

可能附加权利的配置有误? https://paste.pics/93699e6db73a353932fd282226503d42

我的权利文件是:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>com.apple.developer.contacts.notes</key>
  <true/>
  <key>aps-environment</key>
  <string>production</string>
</dict>
</plist>

引用于 Apple's website

Before you can submit an app with this entitlement to the App Store, you must first get permission to use the entitlement. Request permission at https://developer.apple.com/contact/request/contact-note-field.

此问题是由 Apple 端错误生成的配置文件引起的。现在应该解决这个问题。您需要更新您的配置文件,然后重新签名并将您的应用程序重新提交到 App Store Connect。

我终于得到了苹果的回应。这是苹果方面的错误。他们删除了 com.apple.application-identifier,现在可以使用了!