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

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.

主站蜘蛛池模板: 油尖旺区| 宽城| 罗定市| 嘉峪关市| 宁陕县| 双牌县| 锡林郭勒盟| 清水河县| 蓝田县| 大连市| 韩城市| 新郑市| 车致| 孟津县| 康定县| 石楼县| 凤山市| 克什克腾旗| 沙坪坝区| 麻栗坡县| 军事| 农安县| 嵊泗县| 兰西县| 克东县| 抚顺县| 兴隆县| 洪洞县| 达拉特旗| 阜阳市| 西乌珠穆沁旗| 宁夏| 湘潭县| 中西区| 宣威市| 邓州市| 东至县| 富蕴县| 长沙县| 麻阳| 阳谷县|