Xcode编译错误:../node_modules/react-native/packager/react-native-xcode.sh: No such file or directory

error : Script-00DD1BFF1BD5951E006B06BC.sh: line 3: ../node_modules/react-native/packager/react-native-xcode.sh: No such file or directory

这是因为react-native 低版本升级到0.49以上版本导致的

 

1.打开 Xcode Build Phases > Bundle React Native code and images
2.修改export NODE_BINARY=node ../node_modules/react-native/packager/react-native-xcode.sh 为export NODE_BINARY=node ../node_modules/react-native/scripts/react-native-xcode.sh


 

Xcode编译错误:../node_modules/react-native/packager/react-native-xcode.sh: No such file or directory_第1张图片

 

你可能感兴趣的:(Xcode编译错误:../node_modules/react-native/packager/react-native-xcode.sh: No such file or directory)