Invalid Binary After Upload

Hello. Please let me preface my question with this: I am new to IOS development, XCode and Mac computers, in general. So, apologies if my question sounds uniformed. I have built a prototype game, which I would like to put on the App Store, so that my friends and partners can test. I only want this available via the internet, so that they can access the app and test, internally. It is not ready to go into production.

I build the app in Unity and ported to Xcode. I build the applications Archive and follow the process to upload it. I receive no errors. But, after I upload the application, and it finishes processing, the status (under iOS Builds) is "Invalid Binary". I also received an email that said: "ITMS-90562: Invalid Bundle - The app cannot be processed because options not allowed to be embedded in bitcode are detected in the submission. It is likely that you are not building the app with the toolchain provided in Xcode. Rebuild your entire app with the latest GM Xcode and submit the app again."

How can I fix this issue? The following details might be helpful:

  • Built using Unity (on Windows)
  • Copied to a Mac and rebuilt in Unity 2021.2.8f1
  • XCode is version 13.2.1

Steps I take:

  1. Build game in Windows. Commit changes in Git
  2. Pull changes in Mac Unity.
  3. In Unity, build the application (Run in XCode as Release, IL2CPP Code Generation set to "Faster smaller builds")
  4. This creates the XCode workspace. Because my app uses the FaceBook SDK, I have to install Pod. This creates a Project file.
  5. I open the project file, sign it, and I then create the Archive. Once the Archive is created, I click "Distribute App" and select App Store Connect" . I go through this process and upload. Once the upload completes and the file is processed, I see this error.

If any details are needed, please let me know! thanks for any help!

Well, I am not sure if this is the best answer, but I read that if you install Burst Package, in Unity, to version 1.5.6 it would fix the issue. I did that, and it now works. I am not sure what Burst does, but hopefully having a legacy package installed won't cause other problems.

Invalid Binary After Upload
 
 
Q