简体   繁体   中英

Xcode build fails for react-native AwesomeProject

I'm running Xcode 4.6.3 on OS X 10.7.5. I've set iOS Deployment Target to 6.1 in Xcode and selected the iPhone 6.1 simulator. When I hit Run the React Packager appears and says it is ready.

Xcode then fails to build with four parse errors related to RCTImageDownloader.m and there are also nine Target Integrity warnings:

/Users/SM/AwesomeProject/node_modules/react-native/Libraries/AdSupport/RCTAdSupport.xcodeproj iOS Deployment Target '7.0' is newer than SDK 'iOS 6.1' in target RCTAdSupport

What are my options for resolving this problem?

The tools do not support building for a newer deployment target than the SDK supports. You need to lower the deployment target from 7.0 to 6.1 or use newer tools (which will require a newer version of OSX as well).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM