reactotron icon indicating copy to clipboard operation
reactotron copied to clipboard

[reat-native] Can't connect to iOS device

Open christophelebris-fulll opened this issue 1 year ago • 3 comments

Describe the bug

Environment

"react-native": "0.74.5" "reactotron-react-native": "5.1.8"

Bug encountered

I followed the setup step by step but couldn't manage to get it connect to iOS device:

  • Metro is connected on port 8081 and i see logs in terminal
  • Tried localhost and IP directly in Reactotron.configure
  • Tried reboot mac
  • Tried setting IP directly in Bundler config of device (by shaking it)
  • Tried adding .use(networking())
  • Tried rebooting Reactotron software

Nothing worked.

Is there any way to connect to real iOS device ? Thank you

Reactotron version

3.7.0

christophelebris-fulll avatar Sep 11 '24 14:09 christophelebris-fulll

We are also facing the same issue. Reactotron .configure({ host: '', // default is localhost (on android don't forget to adb reverse tcp:9090 tcp:9090) name: 'Ignite App' // would you like to see your app's name? })

Added my machine ip addess but still the app is not debug in iOS physical device. Using Xcode 16

awadeyar1 avatar Oct 17 '24 20:10 awadeyar1

Same error. Works on android and ios simulator but not actual iphone device

CaptainJeff avatar Jan 13 '25 18:01 CaptainJeff

https://www.npmjs.com/package/babel-plugin-local-ip I'm using this lib to get iphone IP for reactotron, hope this may help someone

khanhvohoangvib avatar Feb 05 '25 07:02 khanhvohoangvib