如果免費(fèi)使用Reveal一些心得

如果免費(fèi)使用Reveal一些心得

因?yàn)镽eveal十分的貴,有點(diǎn)舍不得。一百塊錢還可以忍受,那可是幾百大洋呀。

之前用的一位大神破解的Reveal1.6.3版本,后來發(fā)現(xiàn)出現(xiàn)了很多的免費(fèi)版本。也不敢用新的一直使用1.6.3的破解版本。

今天突然1.6.3調(diào)試UI出現(xiàn)不了,就無奈的下載了最新的版本。

以為只有15天的免費(fèi)時(shí)間,覺得15天就15天吧,暫時(shí)把目前的UI的問題修復(fù)。

打開提示我可以輸入試用嗎,我急忙的查找破解版的看一下有沒有,然而并沒有。

后來我看到軟件提示我查看剛才我填寫的郵箱收到的激活碼輸入,我靈機(jī)一動(dòng),我每次郵箱不一樣收到的激活碼就不一樣,這樣一個(gè)激活碼十幾天。

這樣用不同的郵箱是否就可以一直用下去了嗎?

但是郵箱我加上QQ,163企業(yè)的也就不超過十個(gè),之前看到有臨時(shí)的郵箱。

就百度一下臨時(shí)郵箱,用了臨時(shí)的郵箱果然可以,收到激活碼輸入就可以了。

關(guān)于Reveal是否激活加上其他顯示沒有,現(xiàn)在暫時(shí)研究不了,只有等到過期換一個(gè)激活碼試一下了。

下面是添加Receal庫到Xcode里面的教程

Loading the Reveal Server framework via an Xcode Debugger Breakpoint is a great way to let you inspect any project with minimal or no changes to the project's files. It also means you don't need to worry about accidentally shipping a release build of your app linked with the Reveal library. The following steps only need to be performed once for each computer and user account you're running Reveal on:

  1. In Reveal, open the Help menu and click Install Debugger Commands…

  2. Click Continue to finish the installation.

    To learn more about Reveal Server debugger commands, please refer to the [corresponding guide](RevealServer Debugger Support.html).

  3. Open your iOS or tvOS project in Xcode, and select View → Navigators → Show Breakpoint Navigator.

  4. In the bottom left of the pane, click the + button and select Symbolic Breakpoint…

  5. Enter UIApplicationMain into the Symbol field.

  6. Click the Add Action button, and ensure that Action is set to Debugger Command.

  7. Copy and paste the following command into the field below:

    reveal load
    
  8. Check Automatically continue after evaluating actions.

  9. Right click the newly created breakpoint and select Move Breakpoint To → User.

    You can enable and disable the breakpoint as you would any other. User breakpoints are available across all Xcode projects.

  10. In Xcode, build and run your application under the iOS or tvOS Simulator.

You should now be able to switch to Reveal and see your iOS or tvOS application listed. Select your app and verify that you can see a snapshot matching what you see in the simulator.

Debugging on device

The steps outlined above are sufficient for debugging any application using Reveal in the iOS or tvOS Simulator. However, if you would also like to use Reveal when debugging your applications on device, there are a few extra steps you'll need to perform for each project:

  1. Open your project in Xcode, then select the project's icon in Xcode's Project Navigator.

  2. Select the target you want to inspect using Reveal from the TARGETS list.

  3. Select the Build Phases tab, click the + button and add a New Run Script Phase — name it "Integrate Reveal Server". Paste in the following shell script:

    REVEAL_APP_PATH=$(mdfind kMDItemCFBundleIdentifier="com.ittybittyapps.Reveal2" | head -n 1)
    BUILD_SCRIPT_PATH="${REVEAL_APP_PATH}/Contents/SharedSupport/Scripts/reveal_server_build_phase.sh"
    if [ "${REVEAL_APP_PATH}" -a -e "${BUILD_SCRIPT_PATH}" ]; then
        "${BUILD_SCRIPT_PATH}"
    else
        echo "Reveal Server not loaded: Cannot find a compatible Reveal app."
    fi
    

    This build phase will locate Reveal on your computer and copy Reveal Server framework as a resource into your application – but only when building with Debug configuration.

  4. In Xcode, build and run your application on an iOS or tvOS device using a scheme that is set to use the Debug configuration. Ensure that the device is on the same Wi-Fi network as Mac running Reveal, or connected to your Mac by its USB cable.

    You should now be able to switch to Reveal and see your iOS or tvOS application listed in. Select your app and verify that you can see a snapshot matching what you see on device.

No code needs to be added, nor any headers imported for Reveal integration. The breakpoint you created earlier will load the framework automatically at launch and start the necessary Reveal services within your app.

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

推薦閱讀更多精彩內(nèi)容