react-native/local-cli
Michał Mokijewski a130239257 Make run-ios command play nicely with multiple Xcode versions (#19781)
Summary:
I started using Xcode 10 beta and spotted that even though react-native cli is using cli tools from Xcode 10 for building it tries to open simulator from Xcode 9.4. Turned out that path to simulator app is hardcoded and doesn’t care about active developer directory.

1. You have to have more than one Xcode version (ie. 9.4 and 10 beta).
2. Change active developer directory to Xcode beta (`xcode-select -s /Applications/Xcode-beta.app/Contents/Developer`).
3. Without fix `react-native run-ios` will open simulator from Xcode 9.4, with fix it'll open simulator from active developer directory.

[CLI][IOS] [BUGFIX] [./local-cli] - use simulator from active developer directory
Closes https://github.com/facebook/react-native/pull/19781

Differential Revision: D8475915

Pulled By: TheSavior

fbshipit-source-id: d607f1f9eb9e565d4a017c21de50b5e569d171f9
2018-06-17 23:01:49 -07:00
..
__mocks__ metro-memory-fs: enforce explicit cwd() 2018-05-25 08:04:34 -07:00
bundle Expose getResolverMainFields() config param 2018-06-12 13:58:10 -07:00
core iOS OSS: deployment target 8.0 => 9.0 2018-05-22 01:16:45 -07:00
dependencies Prettier RN local-cli 2018-05-11 13:00:50 -07:00
eject Prettier RN local-cli 2018-05-11 13:00:50 -07:00
generator Prettier RN local-cli 2018-05-11 13:00:50 -07:00
info cli: upgrade envinfo for new features in `react-native info` 2018-05-29 17:30:16 -07:00
init Fix iOS e2e tests: bump react-native-babel-preset to ^5 (#19625) 2018-06-10 17:08:56 -07:00
install Prettier RN local-cli 2018-05-11 13:00:50 -07:00
library Prettier RN local-cli 2018-05-11 13:00:50 -07:00
link use android build-tools 26.0.2 and set compileSdk to 26 (#19662) 2018-06-13 10:39:55 -07:00
logAndroid Prettier RN local-cli 2018-05-11 13:00:50 -07:00
logIOS Prettier RN local-cli 2018-05-11 13:00:50 -07:00
runAndroid Prettier RN local-cli 2018-05-11 13:00:50 -07:00
runIOS Make run-ios command play nicely with multiple Xcode versions (#19781) 2018-06-17 23:01:49 -07:00
server Expose getResolverMainFields() config param 2018-06-12 13:58:10 -07:00
templates bump gradle-plugin@2.3.3, gradle@3.5.1, gradle-download-task@3.4.3 (#19697) 2018-06-14 17:02:18 -07:00
upgrade Prettier RN local-cli 2018-05-11 13:00:50 -07:00
util Expose getResolverMainFields() config param 2018-06-12 13:58:10 -07:00
.npmignore npmignore: ignore tests and fixtures 2018-02-27 08:42:14 -08:00
cli.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
cliEntry.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
commands.js Prettier RN local-cli 2018-05-11 13:00:50 -07:00
setup_env.bat Update license headers for MIT license 2018-02-16 18:31:53 -08:00
setup_env.sh Update license headers for MIT license 2018-02-16 18:31:53 -08:00
wrong-react-native.js Prettier files with shebang 2018-05-11 13:52:30 -07:00