使用Reveal调试iOS项目请看 JackerooChu的 Reveal iOS项目UI调试工具使用教程
今天升级了一下Reveal,报错😂
只需要做两步,一拷出新库,二黏贴覆盖旧库(或者删掉黏贴)
The operation couldn’t be completed. The app is linked against an older version of the Reveal library. You may need to update the Reveal library in your app.
找到Reveal.framework
Fine,既然都高亮让我点击show Reveal Library in Finder了,直接点击,来到了
⌘ + C拷贝一下
1.情况一: 集成项目中
在项目中打开左侧边栏中Pods项目中的Pods文件夹的RevealSDK,找到这个older version的framework,show in finder
(1).把这个framework移到废纸篓(⌘ + delete)
(2).黏贴上刚才拷贝的新库
(3).OK,最后再重新run(⌘+R)一下你的项目,重新开一下Reveal
就可以在DISCOVERED下看到你的APP了
(4).点击进入,OK看到了
2.情况二:越狱机
Cydia源中Reveal版本比较老,无法与Mac端新版本匹配,需要将Mac端Reveal中的iOS库拷贝到越狱设备指定的位置。
(1)将RevealServer.framework/RevealServer拷贝至越狱机
将RevealServer.framework/RevealServer借助爱思助手拷贝至/Library/MobileSubstrate/DynamicLibraries/
名称重新命名为libReveal.dylib
(2)将RevealServer.framework拷贝至越狱机
将RevealServer.framework拷贝至越狱机/Library/Frameworks
(3)重启测试app和MAC端Reveal
越狱设备打开App后,Mac上Reveal就可以看到app了。
END