skip to Main Content

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


  1. 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

    Login or Signup to reply.
  2. 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.

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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search