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
Go to your project target and then -> Build Settings -> Always Embed Swift Standard Libraries and switch to "NO". (this is if you dont use swift in your project).
On the other hand i’ve seen this more of an issue that has to do with cleaning your project folder.
https://github.com/flutter/flutter/issues/59830#issuecomment-646603022
For some reason, the command line tools was not set in Xcode preferences. So in my case I opened:
and set Command Line Tools field to match the current version of Xcode, in my case
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 myflutter
project.