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

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.

主站蜘蛛池模板: 道孚县| 恩平市| 始兴县| 忻城县| 肇庆市| 正蓝旗| 绿春县| 贺州市| 福海县| 南康市| 青海省| 永仁县| 巢湖市| 昭平县| 建水县| 达州市| 新和县| 永吉县| 扶余县| 兰溪市| 扎囊县| 湟源县| 陕西省| 隆化县| 公主岭市| 荆门市| 泾阳县| 大方县| 兰州市| 洛川县| 安泽县| 新巴尔虎右旗| 广安市| 永州市| 莱西市| 三门峡市| 胶州市| 涞源县| 莎车县| 开封县| 庆城县|