“Could not connect to lockdownd” while attempting to run flutter app

后端 未结 3 1564
离开以前
离开以前 2021-01-06 05:19

I am following the Get Started tutorial.

I can install everything, flutter doctor returns all checkmarks but in the end there is a message:

3条回答
  •  天涯浪人
    2021-01-06 05:47

    Disconnect all iOS devices, then:

    brew uninstall ideviceinstaller
    brew uninstall libimobiledevice
    brew install --HEAD libimobiledevice
    brew link --overwrite libimobiledevice
    brew install --HEAD  ideviceinstaller
    brew link --overwrite ideviceinstaller
    sudo rm -rf /var/db/lockdown/*
    

    Connect an iOS device, and choose "Trust" when prompted, after that:

    sudo chmod -R 777 /var/db/lockdown/
    

提交回复
热议问题