內(nèi)容提要:
- 破解Reveal
適用1.5.x--1.6.3之間的所有版本 - 加載Reveal
不修改項(xiàng)目,不添加額外文件章鲤,最輕量級加載
本文參考了兩篇博客晴裹,其實(shí)是這兩篇博客的匯總和歸納瘾敢,原博鏈接會放在文末
正文
破解Reveal
1.文件準(zhǔn)備
Reveal
官網(wǎng) http://revealapp.com
度盤 http://pan.baidu.com/s/1eSyPXho
破解文件 http://pan.baidu.com/s/1o7QdMIm
2.拖到應(yīng)用程序并打開一次Reveal
3.在應(yīng)用程序中找到對應(yīng)應(yīng)用Reveal.app
,右鍵顯示包內(nèi)容
畜号,進(jìn)入Contents
->MacOS
文件夾
4.修改原Reveal文件名為任意其他(建議修改成Reveal_
5.從破解文件中拷貝Reveal
至該文件夾
破解完成
加載Reveal
1.在項(xiàng)目中打開Break斷點(diǎn)標(biāo)簽
2.添加自定義斷點(diǎn)Add Symbolic Breakpoint
3.在Symbol
行填寫UIApplicationMain
4.點(diǎn)擊Add Action
5.確保Action
為Debugger Command
6.在Action
下方空白處填寫
expr (Class)NSClassFromString(@"IBARevealLoader") == nil ? (void *)dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/libReveal.dylib", 0x2) : ((void*)0)
7.勾選Options
的Automatically continuexxxxx...
8.在新創(chuàng)建斷點(diǎn)上點(diǎn)右鍵缴阎,選擇Move Breakpoint To
->User
完成配置
注:
· 打開Reveal,然后運(yùn)行程序简软,在程序加載后切換到Reveal蛮拔,在顯示No Connection
的下拉列表中可以找到已運(yùn)行的項(xiàng)目,點(diǎn)擊即可切換痹升。
· 只能在模擬器上運(yùn)行建炫,真機(jī)只會打印(void *) $0 = 0x0000000000000000
的log
· 度盤的Reveal版本是1.6.3
Ps
相關(guān)博客: