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

前端 未结 7 975
南笙
南笙 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条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-30 20:30

    For me, I had accidentally clicked Deny instead of Allow on a macos popup asking whether to accept incoming network connections to «node».

    Opening System Preferences -> Security & Privacy -> Firewall -> Firewall options, and finding the line for node that was set to block, then correcting it to allow solved my problem!

提交回复
热议问题