Skip to content

fix: always use udid from matched device #281

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

Merged
merged 4 commits into from
Apr 25, 2025

Conversation

szymonrybczak
Copy link
Contributor

Summary

For some reason using UDID works in some cases when using sim name with () doesn't work always, so let's use the matched device also use UDID.

Test plan

rnef run:ios --device "iPhone 16 Pro Max (iOS 18.4)" should use UDID as a param in the xcodebuild command.

Copy link

vercel bot commented Apr 24, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
rnef ⬜️ Ignored (Inspect) Visit Preview Apr 25, 2025 9:34pm

@szymonrybczak szymonrybczak changed the title fix: always used udid from matched device fix: always use udid from matched device Apr 24, 2025
@@ -91,6 +91,7 @@ export const createRun = async (
}
loader.stop('Found available devices and simulators.');
const device = await selectDevice(devices, args);
args.device = device?.udid
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be good to add a comment explaining why this is done

@thymikee thymikee merged commit f11fd91 into main Apr 25, 2025
4 checks passed
@thymikee thymikee deleted the fix/always-use-matched-device branch April 25, 2025 21:34
thymikee added a commit that referenced this pull request Apr 28, 2025
* origin/main:
  feat: refactor and expose remote cache provider (#260)
  fix: move start from @react-native/community-cli-plugin (#288)
  fix: update gradle-wrapper (#287)
  fix: always use udid from matched device (#281)
  chore: v0.7.2 (#279)
  docs: Update migrating-from-community-cli.mdx (#284)
  docs: attribute @expo/fingerprint (#285)
  fix: support plugin in create-app
  chore: v0.7.1 (#278)
  fix: autolinking config missing project (#277)
  fix: bump template to v0.7.0
  chore: cleanup ios brownfield android mention
  chore: v0.7.0 (#274)
  feat: upgrade templates to 0.79 (#275)
  fix: incorrectly resolving root (#276)
  chore: simplify welcome message and improve prompts (#273)
  docs: add logo (#272)
  chore: v0.6.2 (#268)
  fix: resolve project root to absolute path (#269)
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.

3 participants