代码之家  ›  专栏  ›  技术社区  ›  Quinn

Xcode 11 beta无法将应用程序上载到TestFlight

  •  2
  • Quinn  · 技术社区  · 5 年前

    我正在尝试将我的应用程序发布到TestFlight,目前我的应用程序需要iOS13以及NFC访问。

    我不打算在iOS13测试版出来之前发布我的应用程序,但是我希望我的QA团队能够测试它。

    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(当然是beta版),它是用apples linker构建的。

    我也尝试过为开发而分发,但是当我这样做的时候,我得到了 IPA processing failed .

    有没有办法分发我的iOS13应用程序进行内部测试?


    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}'."
    
    0 回复  |  直到 5 年前
        1
  •  8
  •   Yury Bushev Genghis Khan    5 年前

    看起来您正在尝试使用xcode10生成的项目。你能试试这个吗:

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

    2. 将“NDEF”从 文件。

    enter image description here

        2
  •  1
  •   CH Wing    5 年前

    我已经尝试过上面的解决方案,成功地将upload app传递到TestFlight,但是当测试人员下载TestFlight中的应用时,他们得到了错误。

    enter image description here