Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react native run ios

xcrun simctl list devices
npx react-native run-ios --udid='AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA'

/*
xcrun simctl list devices =>
  == Devices ==
  -- iOS 15.2 --
      iPhone SE (2nd generation) (92681981-CECB-45EA-910E-7D6E12326CBA) (Booted)
      ...
*/
// Ex: npx react-native run-ios --udid='92681981-CECB-45EA-910E-7D6E12326CBA'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #react #native #run #ios
ADD COMMENT
Topic
Name
3+5 =