“Invalid Swift Support - The SwiftSupport folder is missing” with Xcode 7.3.1

前端 未结 6 1843
无人及你
无人及你 2020-12-15 06:11

After submitting an app update using Application Loader, I got this email from Apple:

We have discovered one or more issues with your recent delivery

相关标签:
6条回答
  • 2020-12-15 06:43

    The root cause of this is that the provisioning profile is ad-hoc and it doesn't create SwiftSupport directory in the ipa. The folder is created using app-store as the export method, so it worked for me when I updated my provisioning profile to app-store.

    Reference

    0 讨论(0)
  • 2020-12-15 06:46

    In my case, I just added redundant swift file to the project and it solved the problem.

    0 讨论(0)
  • 2020-12-15 06:47

    You should choose "Save for iOS App Store Deployment" instead of "Save for Ad Hoc Deployment" option at the time of creating ipa file.

    0 讨论(0)
  • 2020-12-15 06:54

    Use this https://github.com/ndpiparava/Swift_StripArm64e script file remove arm64e from .app file

    ..Nitin

    0 讨论(0)
  • 2020-12-15 06:56

    The solution here was in this answer. We needed to use the new -exportOptionsPlist flag with xcodebuild instead of the older -exportFormat and -exportWithOriginalSigningIdentity flags. The plist just needs to have the method key set to app-store.

    0 讨论(0)
  • 2020-12-15 07:09

    I received this same email after uploading an .ipa file to App Store Connect through the Transporter app. The following is where I went wrong: I distributed the app using ad hoc.

    The following steps are the solution for my error:

    1. Archive app
    2. Distribute on TestFlight and the App Store
    3. Export
    4. Open ExportOptions.plist in the newly created folder from the export.
    5. Make sure the method property has the value app-store if you are uploading to App Store Connect/TestFlight like me.
    6. Drag and drop the exported .ipa file to Transporter.
    7. Deliver your app to upload it.

    And that's it!

    Original answer here: https://stackoverflow.com/a/62568526/10374366

    0 讨论(0)
提交回复
热议问题