背景:Mac环境搭建iOS自动化环境,Mac系统:MacOS Ventura13.2(手残党更新了一把)。
问题一:
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
标签:坑记,MacOS,1.0,libimobiledevice,Ventura13,install,brew,glue From: https://www.cnblogs.com/sunshine2017/p/17125838.html