react-native错误

作者: 刘满 分类: ReactNative 发布时间: 2018-12-02 21:34

xcrun: error: unable to find utility “instruments”, not a developer tool or in PATH
在终端执行如下命令 sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/

‘config.h’ file not found

cd node_modules/react-native/third-party/glog-0.3.4
../../scripts/ios-configure-glog.sh

undefined is not an object (evaluating ‘RNFSManager.RNFSFileTypeRegular’)

react-native link react-native-fs

重新编译

Xcode 10 libfishhook.a cannot be found

:-1: Build input file cannot be found: ‘/…../node_modules/react-native/Libraries/WebSocket/libfishhook.a’

1、Project Navigator    2、Libraries    3、RCTWebSocket.xcodeproj    4、Build Phases    5、Link Binary With Libraries    6、删掉libfishhook.a,重新添加libfishhook.a

‘config.h’ file not found

cd node_modules/react-native/third-party/glog-0.3.4
../../scripts/ios-configure-glog.sh

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据