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

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.

主站蜘蛛池模板: 皋兰县| 淮滨县| 师宗县| 布拖县| 章丘市| 安吉县| 讷河市| 深州市| 稷山县| 高安市| 平原县| 育儿| 常德市| 平罗县| 平山县| 卫辉市| 乌兰浩特市| 辽宁省| 兴宁市| 松原市| 临猗县| 泰州市| 达拉特旗| 湘潭市| 乡城县| 大名县| 万载县| 忻城县| 门头沟区| 临湘市| 龙南县| 杭锦旗| 澄江县| 巴林右旗| 法库县| 涪陵区| 安吉县| 阿克陶县| 舟曲县| 汤原县| 玛沁县|