Skip to content

[Feature request] run-ios supports mac catalyst target #998

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

Closed
robertying opened this issue Feb 21, 2020 · 1 comment · Fixed by #1024
Closed

[Feature request] run-ios supports mac catalyst target #998

robertying opened this issue Feb 21, 2020 · 1 comment · Fixed by #1024

Comments

@robertying
Copy link
Contributor

Describe the Feature

Mac Catalyst has already been available for React Native projects since 0.62-rc.

Now I believe we can only build the app using Xcode. Running react-native run-ios with --device flag does not work, since CLI cannot find any iOS devices.

It would be great if CLI can start to accept Mac device names, such as My Mac or the device's name, so we can use command line to invoke the build process.

Possible Implementations

Update CLI to allow Mac as the target device.

I may be able to look into this and create a pull request when free.

Related Issues

react-native-community/discussions-and-proposals#131

@grabbou
Copy link
Member

grabbou commented Feb 24, 2020

Great idea. I believe it has to do with the way we get devices from the underlying Xcode script. I haven't looked at it yet, but my idea would be to check whether it returns Mac devices and if not, whether we can pass it a flag to do so. Alternatively, just get Mac devices the other way as a fallback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants