Xcode 11 beta 无法将应用上传到 TestFlight [英] Xcode 11 beta can't upload app to TestFlight

查看:84
本文介绍了Xcode 11 beta 无法将应用上传到 TestFlight的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am trying to distribute my app to TestFlight, and currently my app requires iOS 13 as well as NFC access.

我不打算在 iOS 13 推出测试版之前发布我的应用,但我希望我的 QA 团队能够对其进行测试.

I do not intend to release my app until iOS 13 comes out of beta, however I would like my QA team to be able to test it.

我可以从 Xcode 11 测试版构建和存档应用程序,但是如果我尝试上传它,我会收到以下错误:

I can build and archive the app from Xcode 11 beta, however if I try to upload it I get the following errors:

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 模拟器架构的框架来修复的,但是第二个声明在 iOS13 中不允许核心 NFC 权利,这没有意义,因为它们只是在 iOS13 中允许.第三个和第四个错误也没有意义,因为我使用的是最新的 Xcode(当然它是测试版)并且它是用 apples 链接器构建的.

The first one is one I could possibly be fixed by not using a framework that contains the iOS Simulator architecture, however the second one states that core NFC entitlements aren't allowed in iOS13 which doesn't make sense since they are ONLY allowed in iOS13. The third and fourth errors also don't make sense as I am using the latest Xcode (of course it is in beta) and it was built with apples linker.

我也尝试过为开发而分发,但是当我这样做时,我只是得到IPA 处理失败.

I have also tried distributing for development but when I do that I just get IPA processing failed.

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

Is there any way to distribute my iOS 13 app for internal testing?

更新:解决第一个问题后,我现在只收到此错误(与上面的第二个相同)

Update: After fixing the first issue I am now only getting this error (Same as the second one from above)

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}'."

推荐答案

您似乎在尝试使用 Xcode 10 生成的项目.您可以试试这个:

It looks like you trying to use a project generated by Xcode 10. Could you try this:

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

  1. Locate your Entitlements-Release.plist file. You can find the location here: "Signing -> Code Signing Entitlements". It's usually "App Name/Entitlements-Release.plist"

Entitlements-Release.plist 文件中删除NDEF".

Remove "NDEF" from Entitlements-Release.plist file.

  1. 归档和上传

这篇关于Xcode 11 beta 无法将应用上传到 TestFlight的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆