I am trying to upload the app on App Store but getting this error, what am I doing wrong? Xcode version 12.5.1, game not even run in the simulator, do I need a device to connect or what?
error: ignoring file BBPlayer/Frameworks/AOBSessionReporting.framework/AOBSessionReporting, missing required architecture x86_64 in file BBPlayer/Frameworks/AOBSessionReporting.framework/AOBSessionReporting (2 slices)
2
Answers
I believe this is an issue with the M1 chip Macs. I think many third-party frameworks do not yet support simulation on M1 Macs. If you’re trying to use Product > Archive in the menu bar, make sure you have "Any iOS Device" selected as your build device.
you must close your Xcode and go to the Application folder
right-click on the Xcode application and click "Get Info"
after that, you must check change to true the "Open Using Rosetta"
enter image description here
enter image description here