Everything works fine on the iPhone simulator. When creating an iPhone app, I get an error:
To create an RCTRootView
url bundle required.
In AppDelegate.m, I will uncomment the following line:
jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
And upload the prebuild main.jsbundle file to the iOS folder in the project root:
curl http://localhost:8081/index.ios.bundle -o main.jsbundle
mosch source
share