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
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
In my case, I just added redundant swift file to the project and it solved the problem.
You should choose "Save for iOS App Store Deployment" instead of "Save for Ad Hoc Deployment" option at the time of creating ipa file.
Use this https://github.com/ndpiparava/Swift_StripArm64e script file remove arm64e from .app file
..Nitin
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
.
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:
ExportOptions.plist
in the newly created folder from the export.method
property has the value app-store
if you are uploading to App Store Connect/TestFlight like me..ipa
file to Transporter.And that's it!
Original answer here: https://stackoverflow.com/a/62568526/10374366