Description
I just follow the step on the fackbook guide and try to run iOS with the awesome project
React Native version:
react-native-cli: 2.0.1
react-native: 0.60.0
Xcode version :
Version 9.4.1 (9F2000)
when I run react-native run-ios
info In file included from /Users/gonglehan/Desktop/WonderWorld/ProjectN/node_modules/react-native/Libraries/LinkingIOS/RCTLinkingManager.m:8:
/Users/gonglehan/Desktop/WonderWorld/ProjectN/node_modules/react-native/Libraries/LinkingIOS/RCTLinkingManager.h:10:9: fatal error: 'UIKit/UIUserActivity.h' file not found
#import <UIKit/UIUserActivity.h>
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
info
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening ProjectN.xcworkspace. Run CLI with --verbose flag for more details.
** BUILD FAILED **
I tried finding this head file from xCode but I found nothing, and when I deleted the #import <UIKit/UIUserActivity.h> from the RCTLinkingManager file. It works fine, however whenever I do another npm install (for example new library or sth). The code come back, and i have to command it again.