美文网首页
flutter 安装 libimobiledevice 报错 s

flutter 安装 libimobiledevice 报错 s

作者: swift加oc | 来源:发表于2019-07-06 10:34 被阅读0次

 Mac 安装 flutter 开发环境过程中按官方文档使用 brew 安装 libimobiledevice 。

brew install --HEAD libimobiledevice 在执行 ./autogen.sh 脚本过程中报错如下:

checking how to hardcode library paths into programs... immediate

./configure: line 16049: syntax error near unexpected token `libusbmuxd,'

./configure: line 16049: `PKG_CHECK_MODULES(libusbmuxd, libusbmuxd >= $LIBUSBMUXD_VERSION)'

解决方法:

执行:brew link --overwrite pkg-config 后再次尝试 brew install --HEAD libimobiledevice

相关文章

网友评论

      本文标题:flutter 安装 libimobiledevice 报错 s

      本文链接:https://www.haomeiwen.com/subject/jxtphctx.html