Actually you will have to be a paid Apple Developer before you can install to a device. Apple has a pretty complex setup to get apps on a device and you do have to have the paid account to set everything up that you need.
-
Create your developer account.
-
Go to their developer site and log into the Provisioning Portal.
-
Follow the instructions to generate a certificate and key pair. This is done partially on the website, the other is in the OS-X utility called “Keychain Access”. There is some downloading and uploading to finish this process.
-
Once the provisioning portal knows about your certificates and keys, you then have to decide what devices you want to test on. You are allowed 100 total and you can only reset the list once per year. You will gather the device’s UDID (Unique Device IDenteifer) and the device name and add each device to the Provisioning Portal.
-
Then you create an App in the portal and turn on/off some features.
-
You then generate 1-3 provisioning profiles, which combine your certificate/key pair, your app ID information, which devices it’s allowed to run on and download the profiles to the Mac and install them with Xcode.
-
Once all of this is in place, you can tell Corona SDK to build using the provisioning profile of your choice.
The three provisioning profiles are:
Developer – has debugging information, can only be directly loaded to the test device if the UDID is one in the Profile
Distribution - AdHoc – these are apps that are still installed to one of your defined devices, but are considered release apps. I actually tend to use these as my development versions. However if you need to test In App Purchases, GameCenter, etc. you have to use the Developer profile.
Distribution for the App Store – build with this profile to upload to iTunes Connect.
Rob