-
Notifications
You must be signed in to change notification settings - Fork 905
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
Reintroduce tvOS as valid simulator version when matching for simulators #1929
Reintroduce tvOS as valid simulator version when matching for simulators #1929
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Killavus for contribution! 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏼 @Killavus mind adding a test verifying this behavior?
Will do! Need to figure out how we handle such regression tests though in the test suite :). |
We could bring back this test case: https://github.com/react-native-community/cli/pull/1823/files#diff-27e264720294944fa63844f5cb36f8eeb5c6575176725a4823f80189fcb3020fL891 |
Done 🚀 ! |
@douglowder sure, I think that's doable. However, is it the 9.x? Because RN 0.71 is tied to CLI v10.x. |
Oops sorry, yes that would be 10.x, thanks :) |
…ors (#1929) * reintroduce tvOS as valid target when matching simulators * reintroduce matching of Apple TV devices test
@douglowder released in 10.2.5 |
- Includes Apple TV fix react-native-community/cli#1929
- Includes Apple TV fix react-native-community/cli#1929
Summary:
This pull request should close issue #1927. It was caused by being too rigid when it comes to filtering out versions while searching for a valid simulator. This PR reintroduces
tvOS
as a valid version on this code path. @adamTrz is there a reason why it has been removed in the first place?Test Plan:
yarn ios
command with--simulator
set asApple TV
.yarn ios --simulator "iPhone 14 Pro"
or not specific simulator at allyarn ios
. It should still run.