MacOS Ventura13安装libimobiledevice踩坑记
背景:Mac环境搭建iOS自动化环境,Mac系统:MacOS Ventura13.2(手残党更新了一把)。
说明:libimobiledevice类似安卓的adb,是一个与iOS设备进行通信的库。git地址: https://github.com/libimobiledevice/libimobiledevice
ideviceinstaller(依赖上面的libimobiledevice库,无法独自运行)可以查看设备已经安装的软件和安装,卸载功能。
问题一:
brew install libimobiledevice --HEAD
报错提示:
Updating Homebrew...
Warning: You are using macOS 13.2.
We do not provide support for this pre-release version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub.
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this pre-release version.
Error: pkg-config: wrong number of arguments (given 1, expected 0)
解决方案:2月14日MacOS Ventura13有个新版本更新(意思解决相关的系统安全问题,建议所有人更新),抱着试试的心态又更新了一把(侥幸心理作怪)。
问题二:
背景:升级完系统到MacOS Ventura13.2.1后再继续执行brew install libimobiledevice,出现如下保存信息
报错提示:
checking for libimobiledevice-glue-1.0 >= 1.0.0… no
configure: error: Package requirements (libimobiledevice-glue-1.0 >= 1.0.0) were not met:
No package ‘libimobiledevice-glue-1.0’ found
解决方案:
先卸载:
➜ ~ brew uninstall libimobiledevice
再执行:
➜ ~ brew tap kozyrap/libimobiledevice
➜ ~ brew install kozyrap/libimobiledevice/libimobiledevice --HEAD
装完之后发现还是没有ideviceinstaller,直接 brew install ideviceinstaller,即安装成功了
最后在终端输入命令:iproxy -v,出现如下信息,表示成功安装啦~~
iproxy -v
iproxy 2.0.2
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!
2020-02-16 vue.js-组件嵌套