Reputation: 3554
I kept getting the error Class RCTCxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE?
. I've walked my environment all the way back to doing a fresh install (per below) and I still get the error.
$ react-native init test
$ cd coms
$ react-native run-ios
Generates the error above. For reference:
$ react-native -v
react-native-cli: 2.0.1
react-native: 0.48.4
Upvotes: 3
Views: 3119
Reputation: 3554
Tossing this up on stackoverflow - maybe it will help someone. The React Packager was running minimized out of mind, and was in a state that began generating errors forward in Xcode, terminal and simulator. Killed the packager and everything began working as expected.
Upvotes: 4