[Fatal] Update -[RCTBatchedBridge loadSource:] in Xcode 7 iOS 9
I install the environment for react-native, and try to get AwesomeProject running.
On the terminal that opens, I get a SyntaxError: Use of const in strict mode pointing to the line:
const babel = require('babel-core'); ^^^^^
And this exception:
'NSInternalInconsistencyException', reason: 'It looks like the implementationof DEV has changed. Update -[RCTBatchedBridge loadSource:].'
Is the new version of Xcode and build target being iOS 9, the problem? Or something else?
What version of Node are you running? Please check that it is 4+.
node --version is v4.1.1
Hm.. not sure what's going on then.
I just got the same after updating my RN to 0.14-stable and my node version is 4.0.0
This was fixed by adding &dev=true to the bundle query string as I had created this app many versions of RN ago when that wasn't included in the generated project.
http://localhost:8081/index.ios.bundle?platform=ios&dev=true
@corymsmith Thank you, this works fine.
This should be fixed in master: https://github.com/facebook/react-native/commit/500ffa9b763d03e759e9b2897da7f4f7904934cf
I encountered the same problem as well. I hvae the correct path (http://localhost:8081/index.ios.bundle?platform=ios&dev=true)
any hints?
I encountered the same problem while running on a device.
my simulator runs well.
My environment is ios 9.1, xcode 7.1.