First off, I don\'t know react, but I figured deploying to an iOS device instead of the simulator wouldn\'t be too difficult to do with the docs. They were a bit sparse but
AppRegistry.registerComponent('abc',() => ***);
the 'abc'
must be the same as the moduleName:@'abc'
in the file name AppDelegate.m
I had the same issue. I solved it by giving the same name to both AppDelegate's moduleName and AppRegistry.registerComponent
If you are running the app with $ react-native run-ios
you will need to rename the moduleName
field in ./ios/[project name]/AppDelegate.m
to match the new name of the project. Refresh the phone simulator and it should show the new code.