Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The process for managing certificates and profiles is covered in good detail here: [http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/iphone_development/128-Managing_Devices_and_Digital_Identities/devices_and_identities.html|http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/iphone_development/128-Managing_Devices_and_Digital_Identities/devices_and_identities.html]. Follow the steps outlined there to set up your team for iOS development.

...

The iOS Simulator should open quickly with your app running.

Testing on iOS Device

To test on an iOS device, you first need to have your development certificates and provisioning profiles all squared away on your computer and device, as outlined above.

  1. Just plug your device into your Mac's USB port
  2. In Titanium Developer, Select your project in the left menu
  3. Click the "test and package" tab
  4. Click "Run on Device" and select iPhone (default)
  5. Select the SDK version you'd like to use
  6. Select the development certificate you've installed
  7. Select the provisioning profile with which you'd like to install your app
  8. Hit the "Install Now" button

This should automatically build your app, and install it on your app through iTunes. However, sometimes it will build the app and install it to iTunes but not actually deploy to your app. In this case, you'll need to follow these steps after the application is done building:

  1. Open Xcode, and then from the Window menu select "Organizer".
  2. Select the device you'd like to test with from the left-hand menu
  3. Open iTunes, select "Apps" from the left side to display all of your iOS apps.
  4. Find the newly-built app, right click on it and select "Show in Finder". This will open a finder window to the containing folder of your app
  5. Drag the app from Finder into the Applications list in Xcode organizer.

This will manually install the app on your device.

Now the app is on your device and ready to test.

Tip

Leave your device connected to your computer, and watch the "Console" tab in Xcode organizer to see log statements from your app.

Packaging iOS For Distribution

...