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

Qui*_*inn 6 beta xcode ios testflight

我正在尝试将我的应用分发到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."
Run Code Online (Sandbox Code Playgroud)

第一个是我可能不通过使用包含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}'."
Run Code Online (Sandbox Code Playgroud)

Yur*_*hev 9

看起来您正在尝试使用 Xcode 10 生成的项目。您可以试试这个:

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

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

在此处输入图片说明

  1. 存档和上传

  • 哇,刚刚尝试了一下,令人惊讶的是它有效!不知道为什么他们不允许您添加该权利,但他们仍然允许您使用 NDEF 标签...但是哦,好吧! (2认同)