-
-
Notifications
You must be signed in to change notification settings - Fork 505
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
How to set arch for xcodebuild destination? #5419
Comments
This can only be done by hacking and changing the binary and extend the XCFramework Read this two articles by the arm64-to-sim creator @bogo |
is the XCFramework publicity available? |
Nice articles, thanks for sharing. But hacking binaries cannot meet our security compliance check. And I found that fastlane has add a parameter to Below is the
This line do the trick:
|
Thanks @mo5tone ! I think it makes sense, would you like to try to add support for this in Tuist? |
Sure, I'd like to help address this. |
What problem or need do you have?
As the Xcode 14.3 has dropped the Rosetta support for Xcode (Release Notes).
So the
arch -x86_64
(#5298) prefix won't work anymore with Xcode 14.3 and later.The xcodebuild provides an option to select the rosetta simulators for building and testing.
xcodebuild -workspace App.xcworkspace -scheme App -destination "platform=iOS Simulator,name=iPhone 14,arch=x86_64" test
But when I ran
tuist test -d 'iPhone 14 (Rosetta),arch=x86_64'
ortuist test -d 'iPhone 14 (Rosetta)'
, it just failed with below error:Potential solution
No response
macOS version
13.0.1 (22A400)
Tuist version
3.26.0
Xcode version
14.3.1 (14E300c)
The text was updated successfully, but these errors were encountered: