Reputation: 109
Hi I am facing an issue when I am releasing my app, I am using the react-native 0.39 , but I have a problem, the app works perfect when I run it as debug mode using react-native run-ios and when I run it from xCode, but when I run as release mode using react-native run-ios --configuration Release the app crash imediatly after show it, but here the problem when I run the app in release mode in xCode the app works again perfect, even all my testflight user have the same issue, i have followed the correct steps in order to deploy:
Generate the local bundle
node node_modules/react-native/local-cli/cli.js bundle --entry-file='index.ios.js' --bundle-output='./ios/myapp/main.jsbundle' --dev=false --platform='ios' --assets-dest='./ios'
Change the url in AppDelegate
jsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
Copy the bundle and the assets to my project
Any idea why I am getting this issue ? the information about my environment is the bellow
Regards
Upvotes: 3
Views: 3467
Reputation: 2555
I have some suggestions maybe they can help you:
Upvotes: 1