Skip to main content
Known Participant
March 19, 2012
Answered

Beginners question

  • March 19, 2012
  • 3 replies
  • 1282 views

Right so I've setup a provisioning profile for my app, I've added my device, I've got a developers certificate..now what? I've done all that on my Mac, but I'm developing my AIR game on the PC, I've also setup folders for file sharing between both machines on the local network, but how do I test the PC AIR .ipa on my iPhone? do I have to take the P12 file (which I think I create with the keychain access program on the mac?) from the mac and put it somewhere on the PC? and then compile the game on the PC? then copy that created IPA file back over to the Mac to test in itunes connect? is that correct?

Thanks for any advice.

This topic has been closed for replies.
Correct answer

Yes you need to migrate your .p12 file over to the PC if that's where you plan on compiling your .ipa file. You dont need the mac to install the .ipa. Copy both the .p12 and the provisioning profile (development), now publish your app. Open iTunes, go to File>Add File to Library, add the provisioning profile and then do the same for the .ipa. Plug in your iPhone/iPad it should show up under devices on the left. Find your app on the app list and drag it over to the device, a sync should start and your app will be copied over to the device. Assuming you have added the device to the device list on the Apple Developer website before you made your provisioning profiles and you typed in the correct app ID.

3 replies

Known Participant
March 20, 2012

What iBr3nt said threw me a little, but I just copied the .ipa over to the mac, and synced it with the phone and my little game is playing on my iPhone! first time I've had something I've done show up on a phone, anyway kinda excited about that ....thanks for all the help everyone.

March 19, 2012

Listen to Colin he knows his stuff. So Colin you saying I dont need to add the provisioning profile to iTunes? Where did I learn this from, I feel like this is how it had to be, maybe not anymore.

Colin Holgate
Inspiring
March 19, 2012

I'm sure I routinely dragged that it too. I would also send the provisioning file to testers, and tell them to install that in iTunes before downloading the IPA to test. Then one day I found that it worked even without doing that. On a Mac, expand the IPA file (it's just a zip file), then Show Package Contents on the app file inside the Payload folder. Open embedded.mobileprovision in a text editor, and you'll see all the devices listed there.

Correct answer
March 19, 2012

Yes you need to migrate your .p12 file over to the PC if that's where you plan on compiling your .ipa file. You dont need the mac to install the .ipa. Copy both the .p12 and the provisioning profile (development), now publish your app. Open iTunes, go to File>Add File to Library, add the provisioning profile and then do the same for the .ipa. Plug in your iPhone/iPad it should show up under devices on the left. Find your app on the app list and drag it over to the device, a sync should start and your app will be copied over to the device. Assuming you have added the device to the device list on the Apple Developer website before you made your provisioning profiles and you typed in the correct app ID.

Known Participant
March 19, 2012

The provisioning profile is a file? and I copy that and the p12 to the same folder as where my app is compiling? I would prefer to go through iTunes on the mac, so is it fine to just copy the IPA back to the mac to do it from there?

Colin Holgate
Inspiring
March 19, 2012

The P12 and provisioning files can be anywhere. You select them in the Flash iOS settings. When you publish the app the provisioning file is embedded into the IPA file, you only need to give iTunes the IPA file.

You can also directly install the app onto your iPhone using the iPhone Configuration Utility:

http://www.apple.com/support/iphone/enterprise/