Is there way I can fix the ios toolchain?

时间:2019-04-17 00:42:32

标签: macos flutter

I have fixed the brew doctor and installed the python. Now I have this problem which i can't get rid of. I followed the steps and the problem still was not solved

Zuhairs-MacBook-Pro:~ zuhairhallak$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, v1.4.14, on Mac OS X 10.14.4 18E226, locale en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[!] iOS toolchain - develop for iOS devices (Xcode 10.2)
    ✗ 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 with Brew, run:
        brew update
        brew uninstall --ignore-dependencies libimobiledevice
        brew uninstall --ignore-dependencies usbmuxd
        brew install --HEAD usbmuxd
        brew unlink usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
[!] Android Studio (version 3.3)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] VS Code (version 1.33.1)
[!] Connected device
    ! No devices available

! Doctor found issues in 3 categories.

1 个答案:

答案 0 :(得分:0)

This is how I solved this error.


Zuhairs-MacBook-Pro:~ zuhairhallak$ brew install --HEAD libplist
    Error: libplist 2.0.0_1 is already installed
    To install HEAD_1, first run `brew unlink libplist`.
    Warning: Skipping (old) /usr/local/Cellar/libplist/2.0.0_1 due to it being linked
    Zuhairs-MacBook-Pro:~ zuhairhallak$ brew link pkg-config
    Warning: Already linked: /usr/local/Cellar/pkg-config/0.29.2
    To relink: brew unlink pkg-config && brew link pkg-config
    Zuhairs-MacBook-Pro:~ zuhairhallak$ brew unlink pkg-config && brew link pkg-config
    Unlinking /usr/local/Cellar/pkg-config/0.29.2... 4 symlinks removed
    Linking /usr/local/Cellar/pkg-config/0.29.2... 4 symlinks created
    Zuhairs-MacBook-Pro:~ zuhairhallak$ flutter doctor
    Doctor summary (to see all details, run flutter doctor -v):
    [✓] Flutter (Channel dev, v1.4.14, on Mac OS X 10.14.4 18E226, locale en-US)

    [✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    [✓] iOS toolchain - develop for iOS devices (Xcode 10.2)
    [!] Android Studio (version 3.3)
        ✗ Flutter plugin not installed; this adds Flutter specific functionality.
        ✗ Dart plugin not installed; this adds Dart specific functionality.
    [✓] VS Code (version 1.33.1)
    [!] Connected device
        ! No devices available

    ! Doctor found issues in 2 categories.