Xcode - Build for generic iOS Simulator

Hi,

I'm trying to build my project for a simulator using Xcode. Since my Mac has an M1 chip, when I choose a simulator as the destination, the application is only built for the arm64 architecture. How can I build for the generic/platform='iOS Simulator' as I do with the command "xcodebuild ... -destination generic/platform='iOS Simulator'"?

  • Hi.

    Check that the emulator has been installed correctly.

  • @RefaelEs The simulator has been installed correctly since I am using version 16.2, which is the built-in simulator in Xcode 14.2. I don't understand why you think these two are related. The simulator is indeed arm64 since it's on my M1 Mac

Add a Comment