As might be expected, deploying a Titanium app to an iPhone was pretty easy. For the most part, just follow this video. However, there were these gotchas:
Disabled Install Now button
As per this post, it wasn’t obvious why the Install Now button was disabled. But clicking the “Upload” link next to the Upload Development Provisioning Profile line brought up a file dialog, where you navigate to your Mobile Provisioning file. By following the directions in the video, mine went to ~/Downloads/ when previously downloaded from Safari. Upload this file, quit and restart Titanium Developer, and you should see that it’s now detected the WWDR certificate and the Install Now button is enabled. After waiting a bit, the application will be pushed to iTunes.
iTunes needs to be able to sync to the phone
In my case, I use iTunes on my PC to sync ordinarily. So the Mac install of iTunes didn’t recognize my phone. So I had to do the following:
- First I wanted to ensure it wouldn’t try to sync anything automatically.
- Then I had to Authorize the Mac
- Use iTunes to back up the phone, specifically the applications since I don’t want or need it to sync the music, movies, etc..
- Then take a deep breath and click Sync – it will sync the apps now.
- Check your new app (which will not have been synced by default), and sync again.
You’ll now see the new app on your Home screen. Of course all the other apps will be out of order but that’s a minor problem…
“Test & Package” tab can go AWOL
I have no idea what caused this but at some point this tab completely disappeared from Titanium Developer, from all projects. I tried launching it with the –debug flag, but nothing untoward appeared in the log. So eventually I deleted the contents of /Library/Application Support/Titanium/modules/ and relaunched Titanium Developer. This triggered a reload of the modules it needed from the Appcelerator website, and after doing so the “Test & Package” tab mysteriously returned. If you do this, you’ll have to reinstall any 3rd-party modules you have to /Library/Application Support/Titanium/modules so it’s a good idea to back those up first.
1 comment