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

Setting a default device target #1467

Open
bcardarella opened this issue Apr 16, 2024 · 1 comment
Open

Setting a default device target #1467

bcardarella opened this issue Apr 16, 2024 · 1 comment

Comments

@bcardarella
Copy link

When I use xcodegen and have a multi-platform spec and open the project MacOS is selected by default. Is there a way to set the default target device to iPhone 15 or another device of my choosing?

@bcardarella
Copy link
Author

Following up on this. When we generate a project that is multi-platform that includes WatchOS it seems to default to WatchOS frequently which is not what we want. We want to find a way to enforce the default Target as well as the default build device for when the project is opened the first time after being generated.

Looking at the Spec I would have thought Platform would be the value to set but it seems this is overriden as auto when using the list of supportedDestinations

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

No branches or pull requests

1 participant