10

I've had to jump back and forth between different versions of Xcode in order to debug different React Native applications. Here's a way to make sure your $: react-native run-ios points to the right location:

$: sudo xcode-select --switch /Applications/[The version of Xcode you want here].app/

Andres Narvaez
  • 516
  • 5
  • 11

1 Answers1

2

Xcode -> Preferences -> Locations -> Choose Command Line Tools -> Close Xcode

react-native run-ios

enter image description here

Giang
  • 3,553
  • 30
  • 28