Description
I want to change entry file from index.ios.js to index.js.
I also use CI to build and deliver builds.
There was no problem with Android, but iOS just don't want to accept string that mentioned in jsBundleURLForBundleRoot parameter in AppDelegate.m.
I found out that CI calls file react-native/packager/react-native-xcode.sh where hardcoded value react-native-xcode.sh.
Seems like the only way to have index.js - to fix it in file mentioned above.
But seems like this is bad idea.
Am I missing something? Probably there is correct way and I can just find it.
Additional Information
- React Native version: RN 43
- Platform: iOS
Description
I want to change entry file from
index.ios.jstoindex.js.I also use CI to build and deliver builds.
There was no problem with Android, but iOS just don't want to accept string that mentioned in
jsBundleURLForBundleRootparameter inAppDelegate.m.I found out that CI calls file
react-native/packager/react-native-xcode.shwhere hardcoded valuereact-native-xcode.sh.Seems like the only way to have
index.js- to fix it in file mentioned above.But seems like this is bad idea.
Am I missing something? Probably there is correct way and I can just find it.
Additional Information