iOS native Project Integration react-native, press react-native Chinese web tutorial walk, because is the new version 0.54.4 react-native, middle encounter react-native dependent library installation always fails, one error tip: SDK " Iphoneos "cannot be located
Pit Ah, all kinds of Baidu, find a solution link: 50614062, record so, mainly Xcode path is wrong, the root cause is I installed a two xcode before,
Xcode-select--print-path
/library/developer/commandlinetools
$ xcodebuild-showsdks
Xcode-select:error:tool ' Xcodebuild ' requires Xcode, but active developer directory '/library/developer/ Commandlinetools ' is a command line tools instance
Modify path correct command line $ sudo xcode-select--switch/applications/xcode.app/contents/developer/
Get
Another today to import react-native, practice, after the completion of the discovery of the operation of the project always prompt folly/folly-config.h can't find, bitter forced to try several times, still error, After attempting to package.json the react-native version to 0.54, re-install the NPM, and then pod install, the project was compiled successfully,,,
Native iOS project import reactnative, various issues