在真实设备上运行时Flutter会出错

时间:2018-10-20 09:08:41

标签: dart flutter

我在实际的iphone设备上运行时使用颤动时出现波纹管错误 当我运行下面提到的命令时,出现相同的错误

  • brew卸载--ignore-dependencies libimobiledevice
  • 简单安装--HEAD libimobiledevice
  • 简单安装ideviceinstaller
[!] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.0, Build version 10A255
    ✗ Verify that all connected devices have been paired with this computer in Xcode.
      If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
      To update, run:
        brew uninstall --ignore-dependencies libimobiledevice
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    • ios-deploy 2.0.0
    • CocoaPods version 1.5.3

1 个答案:

答案 0 :(得分:3)

您可能正在遇到https://github.com/flutter/flutter/issues/22595中描述的问题。

您能否确保同时更新usbmuxd?您应该可以运行:

brew update
brew uninstall libimobiledevice
brew uninstall usbmuxd
brew install --HEAD usbmuxd
brew install --HEAD libimobiledevice