I just updated to xcode 14, and it seems the simulator can't run with Rosetta to fix scroll lag. Does anyone have a solution that can help me? thank you
This is photo can not open by Rosetta is here
Update: Thanks for all you guys help We have 2 solutions:
Xcode 14.1 update: These solutions can't work anymore. So don't update now, Hope Apple will fix this problem soon
Solution for Xcode 14.0 (not working for Xcode 14.1 & 14.2)
Open the terminal and type :
arch -x86_64 /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator
This forces the use of Rosetta.
Launching Simulator.app under Rosetta is not supported and should not be needed. I am not aware of any issue which would require this.
You probably want to either boot the device in Rosetta or spawn some process in Rosetta, eg:
xcrun simctl boot <UDID> --arch=x86_64
or
xcrun simctl spawn <UDID> --arch=x86_64 ...
Additionally, if your app is x86_64-only, it will launch fine in a sim booted as arm64.
Note: Editing any files within Xcode.app will break its signature, meaning updates will fail to apply which will trigger a full download of Xcode.app (after first downloading and failing to apply a delta update). If you really need to launch Simulator.app as x86_64, use:
arch -x86_64 /path/to/Xcode.app/Contents/Developer/Applications/Simulator.app/MacOS/Simulator
or even create an alias in your ~/.zshrc, so you can just run sim:
alias sim='arch -x86_64 $(xcode-select -p)/Applications/Simulator.app/Contents/MacOS/Simulator'
AND file a radar about why you feel you need to do this at http://feedback.apple.com.
Followup: Thanks to whomever filed the radar about the HID issue with Simulator.app running as arm64 native after I posted this. The issue has been fixed in Xcode 14.1.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With