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

Time for action – loading an app on your iOS device

Select the Hello World build that you created and choose either of the following to load your app onto your iOS device. iTunes, Xcode, or the iPhone Configuration Utility can be used to transfer the application file.

If using iTunes, drag your build into your iTunes library and then synch your device normally.

Time for action – loading an app on your iOS device

Another way to install your app onto your device is to use Xcode since it provides a convenient method for installing iOS device applications.

  1. With the device connected, open Xcode's Organizer from the menu bar, Window | Organizer, and navigate to your connected device under the Devices list on the left.
  2. If a proper connection is established, you will see a green indicator. If it is yellow after a couple minutes, try powering the device off and on again or disconnect the device and connect it again. This will usually establish a proper connection.
    Time for action – loading an app on your iOS device
  3. Simply drag your build file and drop it in the Applications area of the Organizer window and it will automatically install on your device.

    Lastly, you can use the iPhone Configuration Utility that is available as a separate download from the Apple website under the Support tab: http://www.apple.com/support/iphone/enterprise/. It allows you to manage your configuration profiles, track and install provisioning profiles and authorized applications, and capture device information including console logs.

  4. Click on the Download button and follow the directions on how to install the program.
    Time for action – loading an app on your iOS device
  5. Make sure that your device is connected to your computer, launch the iPhone Configuration Utility, and then click the Add button at the top left of the box. Navigate to your Hello World build on your desktop or wherever you saved it and then click Open.
    Time for action – loading an app on your iOS device
  6. When your device is recognized, select your device under the Devices section. You will see a list of applications that are currently installed or yet to be installed. Click on the Install button next to your Hello World app you added to the utility.
    Time for action – loading an app on your iOS device

    Tip

    If you are testing the same version number of the same application repeatedly, make sure to delete the previous versions of your application from the device before a new install to remove any cached or associated data. Or use different version numbers in the build options.

What just happened?

We just learned three different ways using iTunes, Xcode, and the iPhone Configuration Utility to load an application build to an iOS device.

Using iTunes provides a simple drag-and-drop feature into your Library and then allows you to transfer the build as long as your device is synced up.

The Xcode method is probably the easiest and most common way to load a build to a device. As long as your device is connected properly and ready to use in the Organizer, drag-and-drop the build to Applications and it loads automatically.

Finally, the iPhone Configuration Utility is a step-by-step tool where you can easily differentiate which applications have been installed on your device. When you load your build within the main Library, the Devices area will pull up a list of applications you want to install or uninstall. After you locate your build, all you have to do is click the Install button and the file is loaded.

主站蜘蛛池模板: 团风县| 岫岩| 大丰市| 射阳县| 华宁县| 和政县| 马尔康县| 沅江市| 军事| 西乡县| 抚宁县| 平谷区| 仁化县| 富锦市| 千阳县| 舞阳县| 西昌市| 泸水县| 同德县| 香港 | 大新县| 舒城县| 沙河市| 武威市| 西昌市| 淅川县| 肥东县| 浙江省| 井陉县| 通化市| 山阴县| 巴青县| 勃利县| 宁强县| 商河县| 上思县| 包头市| 英吉沙县| 嫩江县| 邵阳县| 贡嘎县|