Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 14.3 Rosetta build with command line

As Apple removed x86_64 support for Xcode and introduced sperate simulators for Rosetta, I wondered how I could run my app on a Rosetta simulator via cli.

This is also needed for fastlane. (see Fastlane Issue)

In the release notes of Xcode 14.3 nothing regarding the cli is mentioned. (Release Notes)

like image 370
kaulex Avatar asked Jan 29 '26 19:01

kaulex


1 Answers

According to the Github Issue which I opened for fastlane as well a user pointed out that following command can be used to build for Rosetta Simulator.

xcodebuild -workspace App.xcworkspace -scheme App -destination "platform=iOS Simulator,name=iPhone 13,arch=x86_64" build

Fastlane

There is a new run_rosetta_simulator option on scan now.

like image 158
kaulex Avatar answered Feb 01 '26 14:02

kaulex



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!