flipper: Desktop failed to provide certificates. Error from flipper desktop

Viewed 2189

Getting a flipper error log while i am trying to run ios app from xcode.

flipper: Desktop failed to provide certificates. Error from flipper desktop:
rsocket::StreamInterruptedException: connection error

App is working smoothly, no issues found. But this log is coming in every 1 second.

Is there any way to fix this issue?

2 Answers

I had the same issue and I finally found a way to resolve this. I assume you're getting this error when you try to debug your app with a real iOS device. These are the steps I took.

  1. You need to run Flipper Desktop on your background. It has an integrated React-devtools plugin. Download it from fbflipper.com. Follow the instructions on their docs it's simple and quite straightforward.
  2. At this point you won't have the same error message. (It will say that the certificate is ok.) However, if you encounter any issues with idb binary location (which I did on my M1 machine), this new message will pop every second and Flipper interface will tell you that the device is not found. Just make sure to find the right idb binary location and configure it, restart Flipper, and this will be resolved one and for all. Mine was in "/opt/homebrew/bin/idb".

Open Flipper > Settings > Enable physical iOS devices

Related