【发布时间】:2019-03-07 05:32:55
【问题描述】:
我在安装和配置 Flutter 时遇到问题
在 Mac OS Sierra 10.12.6 上
Xcode 9.2
brew doctor 报告一切正常
扑医生报告
[!] 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
==> 签出分支 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 版
干杯
罗伯
【问题讨论】:
-
我通过重新安装和链接 libmobiledevice 获得了一些进一步的信息,并且 brew doctor 说您的系统已准备好进行 brew。 ios-deploy cocoapods 报告已安装并且是最新的。 pod setup 得到这个错误:prompt$: pod setup Setting up CocoaPods master repo [!] Failed to connect to GitHub to update the CocoaPods/Specs specs repo - 请检查您是否离线,或者 GitHub 已关闭
标签: git installation flutter