Xcode 11 Beta无法将应用上传到TestFlight

时间:2019-08-16 20:13:34

标签: ios xcode testflight beta

我正在尝试将我的应用分发到TestFlight,目前我的应用需要iOS 13和NFC访问权限。

我不打算在iOS 13测试版发布之前发布我的应用程序,但是我希望我的质量检查团队能够对其进行测试。

我可以从Xcode 11 beta构建和存档应用程序,但是,如果我尝试上传它,则会出现以下错误:

App Store Connect Operation Error
ERROR ITMS-90087: "Unsupported Architectures. The executable for myappsname.app/Frameworks/SomeNFCFrameworkIWrote.framework contains unsupported architectures '[x86_64]'."

App Store Connect Operation Error
ERROR ITMS-90778: "Invalid entitlement for core nfc framework. The sdk version '13.0' and min OS version '13.0' are not compatible for the entitlement '{com.apple.developer.nfc.readersession.formats}' because '{NDEF is disallowed}'."

App Store Connect Operation Error
ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'myappsname.app/Frameworks/SomeNFCFrameworkIWrote.framework/SomeNFCFrameworkIWrote' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."

App Store Connect Operation Error
ERROR ITMS-90125: "The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker."

第一个是我可以通过不使用包含iOS Simulator体系结构的框架来解决的问题,但是第二个指出iOS13中不允许使用NFC核心权利,这是没有道理的,因为它们仅是在iOS13中允许。第三个和第四个错误也没有意义,因为我使用的是最新的Xcode(当然它是beta版的),它是用apples链接器构建的。

我也尝试过为开发进行分发,但是当我这样做时,我只会得到IPA processing failed

有什么办法可以分发我的iOS 13应用进行内部测试?


更新:修复了第一个问题后,我现在仅收到此错误(与上面的第二个错误相同)

ERROR ITMS-90778: "Invalid entitlement for core nfc framework. The sdk version '13.0' and min OS version '13.0' are not compatible for the entitlement '{com.apple.developer.nfc.readersession.formats}' because '{NDEF is disallowed}'."

2 个答案:

答案 0 :(得分:4)

您似乎要使用Xcode 10生成的项目。您可以尝试以下方法吗:

  1. 找到您的Entitlements-Release.plist文件。您可以在此处找到位置:“签名->代码签名权利”。通常是“ App Name / Entitlements-Release.plist”

  2. Entitlements-Release.plist文件中删除“ NDEF”。

enter image description here

  1. 存档和上传

答案 1 :(得分:1)

我尝试了上述解决方案,已成功将上传应用程序传递给TestFlight,但是当测试人员在TestFlight中下载应用程序时,它们会出错。 原因似乎是因为已从Entitlements-Release.plist文件中删除了“ NDEF”。

enter image description here