Skip to content
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

fix(ios): do not provide arch on xcodebuild when running build and archive #353

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

mrguiman
Copy link
Contributor

@mrguiman mrguiman commented Jul 30, 2024

xcodebuild specifies that when passed, the arch option will be used for every single target rather than using the project's configuration:

 ~/code/cargo-mobile2:  xcodebuild --help 2>&1 | grep ARCH                                                                    
    -arch ARCH                                               build each target for the architecture ARCH; this will override architectures defined in the project

This can prevent more complex use cases where modifications have been made to the project's build settings.

Rather than modifying the default behavior, offer a way to fallback to project configuration for those cases

xcodebuild specifies that when passed, the arch option will be used for every single target within the project / workspace.
This can prevent more complex use cases where modifications have been made to the project's build settings.

Rather than modifying the default behavior, offer a way to fallback to project configuration for those cases
@lucasfernog lucasfernog changed the title feat(ios): add option to opt out of specifying arch on build and archive fix(ios): do not provide arch on xcodebuild when running build and archive Aug 19, 2024
@lucasfernog
Copy link
Member

Looks like we can safely remove the arch - I've been testing this on both my macbook (apple silicon) and mac mini (intel)

@lucasfernog lucasfernog merged commit b1c2313 into tauri-apps:dev Aug 19, 2024
12 checks passed
@github-actions github-actions bot mentioned this pull request Aug 19, 2024
@mrguiman
Copy link
Contributor Author

Great news !

@mrguiman mrguiman deleted the feat/arch-option-optout branch August 20, 2024 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants