OGeek|极客世界-中国程序员成长平台

标题: ios - 安装 Google 的 ios-webkit-debug-proxy [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-12 16:06
标题: ios - 安装 Google 的 ios-webkit-debug-proxy

我正在尝试让 google 的 ios webkit 调试代理在我的笔记本电脑上运行,运行 ubuntu 15.04。

https://github.com/google/ios-webkit-debug-proxy

我已尽可能按照他们的安装说明进行操作。但是,我是 Web 开发和 linux 的新手,在运行 ./autogen.sh.

的步骤中遇到了麻烦

它会运行一段时间的检查,但随后我从终端收到以下错误:

checking for libimobiledevice... no configure: error: Package requirements (libimobiledevice-1.0 >= 1.2.0) were not met:

Requested 'libimobiledevice-1.0 >= 1.2.0' but version of libimobiledevice is 1.1.6

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables libimobiledevice_CFLAGS and libimobiledevice_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

我已经尝试自己解决此问题,但无法解决。

有谁熟悉这个错误以及它想让我做什么?我的文件路径是否困惑或者我需要不同版本的 libimobiledevice(我相信我拥有最新版本)?



Best Answer-推荐答案


正如错误所说,您需要 libimobiledevice 1.2 或更高版本。从源代码编译是一个解决方案:

您现在应该能够成功构建 ios-webkit-debug-proxy。

之后您可能需要运行 sudo ldconfig 来更新库缓存。

关于ios - 安装 Google 的 ios-webkit-debug-proxy,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32173312/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://ogeek.cn/) Powered by Discuz! X3.4