-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rosetta label for simulators #16
Comments
Hello! I've never worked with Rosetta simulators. Could you tell me how I can create a project like that in Xcode? |
In Xcode you can go to Product > Destination > Destination Architectures > Show both |
Thank you so much! I'll check later after vacation |
Hello! As I understand how simulators work, we don't need to run the simulator in Rosetta mode. We just need to build the application for the x86_64 architecture, and then, when you run the application on the simulator, macOS can automatically determine that the application should be run in Rosetta mode. I've found that to build the application for the x86_64 architecture, you can set ARCHS=x86_64 VALID_ARCHS=x86_64 ONLY_ACTIVE_ARCH=NO in your xcodebuild command (or in Xcode configurations). Here is the PR [1] that adds support for the "sweetpad.build.arch": "x86_64" configuration for building application for x86_64 architecture. Let me know if this is the right direction to resolve your issue. |
Our project requires compilation using rosetta simulators, right now I don't believe this label is being displayed in the simulator list
The text was updated successfully, but these errors were encountered: