How do I install Ad Hoc Apps for Development through iTunes ?

I created an Ad Hoc Distribution certificate to sign my app with.

(the certificate includes the testers device , and  my own ipad )

Then I built my app using that certificate.

What corona produced was a .zip folder? 

How do I install this app onto my iPad through iTunes?

Has anyone done this recently ? 

Corona should have also produced a .app file (won’t show the extension in Finder).  You need to make an IPA file.  To do this, you need an empty folder named “Payload” (case is significant).  Copy your .app file into Payload and then right click on Payload and choose compress.  This will produce a Payload.zip file.  I usually rename Payload.zip to the app name at this time, but the critical step is instead of calling it a .zip file, rename it to .ipa.  Finder will ask you if you are sure you want to do this, answer Yes.

Now you have yourappname.iap and now you can drag the .ipa file to the “Apps” area in iTunes and it will add it to your apps.  When you sync up with iTunes next, the app will be installed.  This .ipa file can also be used with http://testflightapp.com to help distribute to testers.

This is a lot of work.  It’s much easier, if it’s your device, to tether your device via your USB sync cord, and then use XCode’s Organizer to directly add the .app file to your device.

I just drag and drop the file/folder created by Corona into iTunes. iTunes does all the work. You can even drag it out of iTunes to desktop or a folder and it will be an .ipa file.  I don’t bother with renaming or any such thing. Drag/drop. Click OK to replace old copy. Drag/drop to desktop and then upload to testflight.

Thanks for the help. :slight_smile:

That testflight service seems to be exactly what I am looking for.

I uploaded both the .IPA file I created using the directions you provided and the ad hoc distribution profile that I downloaded from the iOS development portal.

Testflight.com provided me with a link to use for distribution. I emailed that to myself. Then on both of my iPads I simply

clicked the links and followed the prompts to install it. Pretty straight forward really.

I would like to point out, that in the most recent version of  iTunes the interface has changed and there is no longer a side bar that shows your library where you can drag files. You have to add files through the drop down menu. Then you have no way of viewing those files. (if i am missing something please let me know) You do however see the apps in your library come up when you select you iPad(must be connected via USB cord to do this) under iTunes.

I was able to add the .app file using the above method and install it on my iPad.

I believe the problem was that I had an old entry in my key chain for last years development licence. That key was used by Corona to sign my all of my app builds. Even though it says it expired in December 2012 it was still working until yesterday.  I have since deleted that key entry and now use the correct updated one.

-Phillip Bligh

Corona should have also produced a .app file (won’t show the extension in Finder).  You need to make an IPA file.  To do this, you need an empty folder named “Payload” (case is significant).  Copy your .app file into Payload and then right click on Payload and choose compress.  This will produce a Payload.zip file.  I usually rename Payload.zip to the app name at this time, but the critical step is instead of calling it a .zip file, rename it to .ipa.  Finder will ask you if you are sure you want to do this, answer Yes.

Now you have yourappname.iap and now you can drag the .ipa file to the “Apps” area in iTunes and it will add it to your apps.  When you sync up with iTunes next, the app will be installed.  This .ipa file can also be used with http://testflightapp.com to help distribute to testers.

This is a lot of work.  It’s much easier, if it’s your device, to tether your device via your USB sync cord, and then use XCode’s Organizer to directly add the .app file to your device.

I just drag and drop the file/folder created by Corona into iTunes. iTunes does all the work. You can even drag it out of iTunes to desktop or a folder and it will be an .ipa file.  I don’t bother with renaming or any such thing. Drag/drop. Click OK to replace old copy. Drag/drop to desktop and then upload to testflight.

Thanks for the help. :slight_smile:

That testflight service seems to be exactly what I am looking for.

I uploaded both the .IPA file I created using the directions you provided and the ad hoc distribution profile that I downloaded from the iOS development portal.

Testflight.com provided me with a link to use for distribution. I emailed that to myself. Then on both of my iPads I simply

clicked the links and followed the prompts to install it. Pretty straight forward really.

I would like to point out, that in the most recent version of  iTunes the interface has changed and there is no longer a side bar that shows your library where you can drag files. You have to add files through the drop down menu. Then you have no way of viewing those files. (if i am missing something please let me know) You do however see the apps in your library come up when you select you iPad(must be connected via USB cord to do this) under iTunes.

I was able to add the .app file using the above method and install it on my iPad.

I believe the problem was that I had an old entry in my key chain for last years development licence. That key was used by Corona to sign my all of my app builds. Even though it says it expired in December 2012 it was still working until yesterday.  I have since deleted that key entry and now use the correct updated one.

-Phillip Bligh