I just updated to xcode 14 today, 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
CodePudding user response:
Thanks to James' answer above, I found a temporary fix.
Add user/system permissions to the Simulator.app inside Xcode.app, the Contents
folder inside Simulator.app and the Info.plist
file inside too and modify this Info.plist
by adding the following keys:
Architecture priority
array with 1 item (Intel (32-bit) by default)
Application requires native environment
Boolean with NO as value.
Cleanup everything and rebuild/run and it should fix the scroll lag issue.
Thanks again James Risner for this.
CodePudding user response:
Applications built with this Property List Key LSRequiresNativeExecution enabled forbid using Rosetta.
An excerpt from the Apple Documentaion:
... this key prevents the system from using the Rosetta translation process to execute the Intel portion of a universal app on Apple silicon.
I imagine they disabled the simulator from using Rosetta due to known issues. For example floating point exceptions are not correctly translated. So simulation of graphics apps may not work correctly.
I have not test, but you may be able to modify the LSRequiresNativeExecution option to get the launcher to cover Rosetta.