I'm having problems installing and configuring flutter
On mac OS Sierra 10.12.6
Xcode 9.2
brew doctor reported all ok
flutter doctor reported
[!] iOS toolchain - develop for iOS devices (Xcode 9.2)
✗ **libimobiledevice and ideviceinstaller are not installed. To install, run:
brew install --HEAD libimobiledevice
brew install ideviceinstaller**
prompt$: brew install --HEAD libimobiledevice
==> Cloning https://git.libimobiledevice.org/libimobiledevice.git Updating /Users/rjoiner/Library/Caches/Homebrew/libimobiledevice--git
==> Checking out branch master Already on 'master' Your branch is up to date with 'origin/master'. HEAD is now at b34e343 tools: Remove length check on device UDID arguments to support newer devices
==> ./autogen.sh Last 15 lines from /Users/rjoiner/Library/Logs/Homebrew/libimobiledevice/01.autogen.sh: checking dynamic linker characteristics... darwin16.7.0 dyld checking how to hardcode library paths into programs... immediate checking for pkg-config... /usr/local/opt/pkg-config/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes checking for libusbmuxd >= 1.1.0... no configure: error: Package requirements (libusbmuxd >= 1.1.0) were not met:
Requested 'libusbmuxd >= 1.1.0' but version of libusbmuxd is 1.0.10
I don't know how to install version 1.1.0 of libusbmuxd
Cheers
Rob
A recent change to libimobiledevice
bumped the constraint on libusbmuxd to >= version 1.1.0. The current usbmuxd
homebrew package is version 1.0.10.
As a result, homebrew --HEAD
installs of libimobiledevice no longer build without a --HEAD
install of usbmuxd
.
Until the usbmuxd
homebrew formula is updated, a workaround is to install it at HEAD:
brew update
brew uninstall --ignore-dependencies libimobiledevice
brew uninstall --ignore-dependencies usbmuxd
brew install --HEAD usbmuxd
brew install --HEAD libimobiledevice
You can track progress on this issue on flutter/flutter#22595.
It's a bit odd, but it appears the formula for libusbmuxd
is usbmuxd
. Can you try brew install --HEAD usbmuxd
?
This works to me in this exactly sequence :
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With