flipper: Failed to find device error on Flipper 0.133.1

🐛 Bug Report

As soon as I open the Flipper, I get Connection failed error.

Failed to find device ‘7F017CFA-5EAB-4285-8AED-77E14A717BCE’ while trying to connect app ‘MyApp’

Everything works fine on the Android emulator but not in the iOS simulator

To Reproduce

  • Start the iOS simulator
  • Open the Flipper App

Environment

  • macOS Monterey 12.0.1
  • Simulator: iPhone 13 - iOS 15.0
  • Flipper Version: 0.133.1
  • React Native: 0.67.2

Flipper logs

Failed to find device ‘7F017CFA-5EAB-4285-8AED-77E14A717BCE’ while connection app ‘MyApp’ Error: Timed out waiting for device 7F017CFA-5EAB-4285-8AED-77E14A717BCE for client MyApp at file:///Applications/Flipper.app/Contents/Resources/app.asar/bundle.js:4209:5711

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 6
  • Comments: 16 (3 by maintainers)

Most upvoted comments

Fixed a similar issue by upgrading idb-companion from 1.0.14 -> 1.1.6.

This can be done by running

brew update && brew upgrade idb-companion

Found the underlying issue from the console in Flipper, (option + command + i to open console), where the command ~/Library/Python/3.8/bin/idb list-targets --json resulted in an error.

After upgrading idb-companion, the list-targets command succeeds.


@kbirgoren You should specify an exact version of Flipper in your Podfile, e.g. use_flipper!({ 'Flipper'=> '0.135.0' }) if you're using the most current recent version right now.

This works for me:

brew update && brew upgrade idb-companion

Fixed a similar issue by upgrading idb-companion from 1.0.14 -> 1.1.6.

This can be done by running

brew update && brew upgrade idb-companion

Found the underlying issue from the console in Flipper, (option + command + i to open console), where the command ~/Library/Python/3.8/bin/idb list-targets --json resulted in an error.

After upgrading idb-companion, the list-targets command succeeds.

@kbirgoren You should specify an exact version of Flipper in your Podfile, e.g. use_flipper!({ ‘Flipper’=> ‘0.135.0’ }) if you’re using the most current recent version right now.

I am still facing with the same issue even on Flipper 0.144.0, I can only run it without any issues with Flipper 0.99.0

This issue has been fixed in idb-companion 1.1.7. Make sure to uninstall the old version and install the new one since it supports m1 now.

@kbirgoren @essana3 would you happen to be on M1 Macs by any chance?

@nlindroos Thanks for your message.

I just installed client version 0.99.0 and now everything seems to be working.

Specifying a version in Podfile did not help me either. I also experienced the same issue with Flipper’s sample app.

@kbirgoren could you attach complete Flipper logs (like in this post)?

image

@aigoncharov here you can find the screenshot of the logs.