In order to test your app on device and distribute to App Store, you need to enroll iOS Developer Program. It cost USD $99 per year.
Once you have joined iOS Developer Program, you need to register your app and devices in iOS Provisioning Portal.
Before we begin, we need to prepare WWDR certificate, Develop certificate, register App ID, add devices and create Provisioning Profile. All of them we can do by using iOS Provisioning Portal.
- Get WWDR certificate and development certificate. Open iOS Provisioning Portal. Click
Certificates. In Development tab, you will get the download links for them. Double click each of certificate file in order to add them into KeyChain.
- Register App ID. Click
App IDs, then click New App ID.

- Add devices. Click
Devices, then click Add Device. Here you will need to enter Apple Device ID (UUID). If you do not know the UUID number, connect your device to your mac. Open Xcode > Window > Organizer. In Organizer, click your device. There will be identifier value in the main screen. While in this main screen you can also add your device to iOS Provisioning Portal by clicking Add to Portal in the bottom screen.
- Create provisioning profile. Click
Provisioning then click New Profile. Fill the profile name, developer certificate, App ID and select the devices. After it is created, download the profile file then double click it to update the KeyChain.

Ok. Now the preparation is completed. We are back to Titanium Studio.
- Click
Run button in the project window. Select iOS Device.

- Click
Upload provisioning profile. Select provisioning profile file you have downloaded.
- Make sure your device is connected via USB. Click
Finish. It will start building the project. Wait until it is finished then iTunes will automatically synch the app. Your app will be run automatically on your device.