How to disable react native dev mode in debug build configuration for iOS? #24272
Labels
Platform: iOS
iOS applications.
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
Type: Question
Issues that are actually questions and not bug reports.
I'm trying to debug the application bootup and i want to skip the websocket server that downloads the react native bundler.
Everything I've read on the internet just says to use release build configuration, but I need the debug configuration in order to debug my app.
I found this little bit that prevents the bundle from re-building but it still connects to the websocket server to download the bundle instead of building it in.
https://facebook.github.io/react-native/docs/running-on-device.html#pro-tips
I also tried setting
#define RCT_DEV 0
in RTCDefines.h but that caused other build errors importing RCTReconnectingWebsocket...Any ideas how to do this?
The text was updated successfully, but these errors were encountered: