ITMS 90433 Error for uploading app: Xcode 12.4

Viewed 5433

When I submit my app to App Store as TestFlight, my app goes invalid binary. Error message is give as follows:

....

ITMS-90433: Invalid Swift Support - The file libswiftAVFoundation.dylib doesn’t have the correct code signature. Make sure you’re using the correct signature, rebuild your app using the current public (GM) version of Xcode, and resubmit it. Don’t just modify the code signature of libswiftAVFoundation.dylib.

Would you please recommend any practices for library version checking or others if any, to ensure my app submission contains valid binary ?

Updates :

I need to go to the company and rebuild my iOS app using Always Embed Swift Standard Libraries -> YES, no issues

Thank you very much

3 Answers

For some reason, the command line tools was not set in Xcode preferences. So in my case I opened:

Xcode -> Preferences -> Locations

and set Command Line Tools field to match the current version of Xcode, in my case

Xcode 12.4(12D4e)

Then Archive and upload new binary.

Having a physical device connected to xcode while building the app solved it on my site. Note: I use flavors in my flutter project.

Related