When running my react native app on the connected iPhone I see that the app is being run with DEV=TRUE:
I am running the app by opening the xcode project file, and pressing the play button.
How can I do the same but make it run with DEV = false?
Hold the option key when you hit run in xcode and change the drop down from debug to release.
On the react website you can find how to do this
react-native bundle --platform ios --dev false --entry-file index.ios.js --bundle-output iOS/main.jsbundle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With