Skip to content

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.

@vercel
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
}
loader.stop('Found available devices and simulators.');
const device = await selectDevice(devices, args);
args.device = device?.udid
Copy link
Contributor

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.

4 participants