web-dev-qa-db-ja.com

Xcode 11ベータ版がアプリをTestFlightにアップロードできない

アプリをTestFlightに配布しようとしています。現在、アプリにはiOS 13とNFCアクセスが必要です。

IOS 13のベータ版がリリースされるまでアプリをリリースするつもりはありませんが、QAチームがテストできるようにしたいと思っています。

Xcode 11ベータ版からアプリをビルドしてアーカイブできますが、アップロードしようとすると次のエラーが発生します。

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

1つ目は、iOSシミュレータアーキテクチャを含むフレームワークを使用しないことで解決できる可能性があるものですが、2つ目は、コアNFC資格がiOS13では許可されていないため、 iOS13でのみ許可されているため、理にかなっています。最新のXcode(もちろんベータ版です)を使用していて、アップルリンカーでビルドされているため、3番目と4番目のエラーも意味がありません。

開発用に配布することも試みましたが、そうするとIPA processing failed

内部テスト用にiOS 13アプリを配布する方法はありますか?


更新:最初の問題を修正した後、このエラーのみが発生します(上記の2番目のエラーと同じ)

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

上記の解決策を試し、アップロードアプリをTestFlightに正常に渡しましたが、テスターがTestFlightでアプリをダウンロードすると、エラーが発生します。その理由は、Entitlements-Release.plistファイルから「NDEF」を削除したためと思われます。

enter image description here

1
CH Wing