我为react-native
安装了环境,并尝试使AwesomeProject
运行。
在打开的终端上,我收到一个指向该行的SyntaxError: Use of const in strict mode
错误:
const babel = require('babel-core');
^^^^^`
“NSInternalInconsistencyException”,原因:“看来 DEV的实现已更改。更新-[RCTBatchedBridge loadSource:]。
问题是Xcode和构建目标的新版本是iOS 9吗?或者是其他东西?
最佳答案
您需要将Node.js升级到v4 +
关于ios - 在Xcode 7上解决 native 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32856607/