git - flutter 安装期间的libusbmuxd版本错误

标签 git installation flutter

我在安装和配置 Flutter 时遇到问题

在 Mac OS Sierra 10.12.6 上

Xcode 9.2

brew doctor 报告一切正常

flutter 医生报告

[!] iOS 工具链 - 为 iOS 设备开发 (Xcode 9.2)

✗ **libimobiledevice and ideviceinstaller are not installed. To install, run:
    brew install --HEAD libimobiledevice
    brew install ideviceinstaller**

prompt$: brew install --HEAD libimobiledevice

==> 克隆 https://git.libimobiledevice.org/libimobiledevice.git 更新/Users/rjoiner/Library/Caches/Homebrew/libimobiledevice--git

==> checkout 分支 master 已经在“大师”上 你的分支是最新的'origin/master'。 HEAD 现在位于 b34e343 工具中:删除设备 UDID 参数的长度检查以支持更新的设备

==> ./autogen.sh 来自/Users/rjoiner/Library/Logs/Homebrew/libimobiledevice/01.autogen.sh 的最后 15 行: 检查动态链接器特性... darwin16.7.0 dyld 检查如何将库路径硬编码到程序中...立即 检查 pkg-config.../usr/local/opt/pkg-config/bin/pkg-config

检查 pkg-config 至少是 0.9.0 版本...是的 检查 libusbmuxd >= 1.1.0... 否 配置:错误:未满足软件包要求(libusbmuxd >= 1.1.0):

请求 'libusbmuxd >= 1.1.0' 但 libusbmuxd 的版本是 1.0.10

我不知道如何安装 libusbmuxd 1.1.0 版

干杯

罗伯

最佳答案

一个 recent changelibimobiledevice bumped the constraint在 libusbmuxd 上 >= 1.1.0 版。当前的 usbmuxd 自制软件包是 1.0.10 版本。

因此,如果没有 --HEAD 安装 usbmuxd,自制 --HEAD 安装的 libimobiledevice 将不再构建。

usbmuxd 自制公式更新之前,解决方法是将其安装在 HEAD:

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

您可以在 flutter/flutter#22595 上跟踪此问题的进展情况。 .

关于git - flutter 安装期间的libusbmuxd版本错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52602425/

相关文章:

json - 在 Flutter 中解析 JSON 日期

git - blueocean 中的子模块?

linux - 从源代码构建软件并将其安装在 Linux 上的自定义文件夹中

java - 使用 eclipse 运行 appengine

json - 如何在Dart中为 map ,多层 map 创建模型

string - 在 Dart 中分割表情符号字符串

java - 将本地jar(oracle驱动程序)添加到Maven和Bamboo

java - IntelliJ 交互式 rebase 失败

git - git命令中的 'origin'和 'remote'有什么区别?

installation - 配置 Rational Functional Tester (RFT) 以在 Hudson/Jenkins 中运行