You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[IOS] Can't connect to metro on a real device #1637
My Simulator works fine it connects to the development server or metro. But on my ios real device it does not connect. I have tried running with npm start --host 0.0.0.0 / MAC_IP, using hotspot, enabling the USB iPhone cable and editing the sourceUrlForBridge in AppDelegate to connect to the specific host and port but nothing has worked.
Steps to reproduce
Connect ios real device with usb and same network.
No apps connected. Sending "reload" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB.
info Reloading connected app(s)...
<key>NSBonjourServices</key>
<array>
<string>_http._tcp</string>
<string>_http._tcp.local</string>
</array>
<key>NSLocalNetworkUsageDescription</key>
<string>This app requires access to the local network to connect to the Metro Bundler debug server.</string>
Activity
sLurPPPeRsTaR commentedon Feb 5, 2026
add this to your info plist
and modify your appdelegate