-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Closed
Labels
platform-macBuilding on or for macOS specificallyBuilding on or for macOS specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
I tried installing usbmuxd for libimobiledevice, but it did not work. Terminal output below:
[✓] Flutter (Channel beta, v0.11.9, on Mac OS X 10.13.6 17G65, locale en-US)
• Flutter version 0.11.9 at /Users/jianfengwang/flutter
• Framework revision d48e6e433c (5 days ago), 2018-11-20 22:05:23 -0500
• Engine revision 5c8147450d
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /Users/jianfengwang/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling
support)
• Platform android-28, build-tools 28.0.3
• Java binary at:
/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/bin/java
• Java version Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
• All Android licenses accepted.
[!] iOS toolchain - develop for iOS devices (Xcode 10.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.1, Build version 10B61
✗ libimobiledevice and ideviceinstaller are not installed. To install with
Brew, run:
brew update
brew install --HEAD usbmuxd
brew link usbmuxd
brew install --HEAD libimobiledevice
brew install ideviceinstaller
• ios-deploy 2.0.0
• CocoaPods version 1.5.3
[!] Android Studio (not installed)
• Android Studio not found; download from
https://developer.android.com/studio/index.html
(or visit https://flutter.io/setup/#android-setup for detailed
instructions).
[!] Connected device
! No devices available
! Doctor found issues in 3 categories.
Jianfengs-MacBook-Air:~ jianfengwang$ brew update
Already up-to-date.
Jianfengs-MacBook-Air:~ jianfengwang$ brew install --HEAD usbmuxd
==> Cloning https://git.sukimashita.com/libusbmuxd.git
Updating /Users/jianfengwang/Library/Caches/Homebrew/usbmuxd--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 9db5747 socket: Make sure to use socket_close() really everywhere
==> ./autogen.sh
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/usbmuxd/HEAD-9
==> make install
Last 15 lines from /Users/jianfengwang/Library/Logs/Homebrew/usbmuxd/03.make:
install
Making install in common
/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fvisibility=hidden -g -O2 -c -o socket.lo socket.c
/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fvisibility=hidden -g -O2 -c -o collection.lo collection.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fvisibility=hidden -g -O2 -c collection.c -fno-common -DPIC -o .libs/collection.o
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fvisibility=hidden -g -O2 -c socket.c -fno-common -DPIC -o .libs/socket.o
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fvisibility=hidden -g -O2 -c collection.c -o collection.o >/dev/null 2>&1
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fvisibility=hidden -g -O2 -c socket.c -o socket.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=link clang -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -fvisibility=hidden -g -O2 -o libinternalcommon.la socket.lo collection.lo
libtool: link: ar cru .libs/libinternalcommon.a .libs/socket.o .libs/collection.o
ranlib: object: .libs/libinternalcommon.a(socket.o) malformed object (unknown load command 1)
ar: internal ranlib command failed
make[1]: *** [libinternalcommon.la] Error 1
make: *** [install-recursive] Error 1
READ THIS: https://docs.brew.sh/Troubleshooting
I'm not experienced with using Terminal or Brew, and I only followed the directions that Flutter and Brew gave me, in addition to trying anything I found on StackOverflow that could solve the issue. Just a few weeks ago, it was working perfectly. Anybody have any ideas?
scullabyte
Metadata
Metadata
Assignees
Labels
platform-macBuilding on or for macOS specificallyBuilding on or for macOS specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.