Lakr233 / iOSreExtension

A fast and elegant extension for VSCode used for iOSre projects.
Apache License 2.0
153 stars 19 forks source link

Applications 不能加载,问题解决办法。 #10

Closed Vxer-Lee closed 4 years ago

Vxer-Lee commented 4 years ago

问题解决了,分享下解决的过程。 截屏2020-05-23下午12 22 01

大佬在这里说了,更新下libimobiledevice 这里->:https://github.com/Co2333/iOSreExtension/issues/9

brew uninstall --ignore-dependencies libimobiledevice usbmuxd
brew install -v --HEAD --build-from-source usbmuxd libimobiledevice

但是结果是libimobiledevice brew 编译最新版本时候会报错,原因是需要更新libplist libomobiledevice作者给的建议:https://github.com/libimobiledevice/libimobiledevice/issues/961

//编译安装最新libplist
git clone https://github.com/libimobiledevice/libplist.git
cd libplist
./autogen.sh --prefix=/opt/local --without-cython
make
sudo make install
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

//brew 编译安装最新libimobiledevice
brew uninstall --ignore-dependencies libimobiledevice usbmuxd
brew install -v --HEAD --build-from-source usbmuxd libimobiledevice
//如果还是报错,可能是openssl问题加这一句,再编译变
export PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig"
Lakr233 commented 4 years ago

行 晚点我给写进README

Lakr233 commented 4 years ago

已经写进 ee58fb6