Native iOS project import reactnative, various issues

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.