React Native using pre-bundled file on device, even if DEV-mode

前端 未结 7 995
南笙
南笙 2020-12-30 20:05

A few days ago, when I build and run my react native app from Xcode on a device, I realised that even if I set my scheme to Debug, the app is still loading from a pre-bundle

7条回答
  •  猫巷女王i
    2020-12-30 20:39

    For me, this happened after updating my mac to Mojave. Turns out that with the update the firewall settings changed to block all incoming connections... Thank you Stian Jensen for getting me on the track of checking my firewall!

    What I did:

    1. Open System Preferences -> Security & Privacy -> Firewall -> Firewall options
    2. Uncheck "Block all incoming connections"
    3. Make sure that the connections listed are from sources that you trust

提交回复
热议问题