官术网_书友最值得收藏!

Running apps on iDevice

In the section that we just saw, we executed the application on simulator. Now, let's run the same application on iDevice. While pentesting, we will mostly use iDevice as a target and not the simulator. The iDevice makes it easier to perform security assessment of the application.

We provided the Hello World application's Xcode project with this chapter. Download the Xcode project, connect your iDevice to Xcode, and perform the following steps:

  1. Start Xcode with the Hello World application and select your iDevice as a target, as follows:

    Tip

    Downloading the example code

    You can download the example code files for all the Packt books that you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register in order to have the files e-mailed to you directly.

  2. You will notice the application icon on iDevice, as follows:
  3. If you click on the icon, you will notice the same Hello World app on your own iDevice, as shown in the following screenshot:

Congratulations! You have just developed a simple Hello World iOS application and executed it on the simulator and on iDevice.

If you want to install the application binary that is provided with this book directly, then your device needs to be jailbroken. We will study this concept in depth in the upcoming chapters.

主站蜘蛛池模板: 正安县| 噶尔县| 云浮市| 西和县| 班戈县| 易门县| 江西省| 库伦旗| 普兰县| 彭山县| 阿合奇县| 百色市| 霸州市| 盱眙县| 噶尔县| 山阴县| 政和县| 仲巴县| 鄂托克旗| 九江市| 蓝山县| 武乡县| 浮梁县| 伊川县| 年辖:市辖区| 凤城市| 沅江市| 镇安县| 平利县| 裕民县| 马龙县| 宜州市| 苍梧县| 长沙县| 广州市| 儋州市| 济南市| 溧阳市| 芜湖县| 铜陵市| 阜宁县|