Page 1 of 1

Provision Profile and Multiple devices.

Posted: Tue Jan 20, 2015 7:40 pm
by lohill
After many tries and with help from Neil, I now have a beta version of my app on an iPhone. I now want to put that same app on an iPad. I have gone to the Apple Developer portal and added the new device. I then tried to install the app on my iPad and got the message that a valid provisioning profile was not found for the iPad. I then went back to the Developer portal and started to make a new provisioning profile. This is where I got cold feet and quit before overwriting my old one. I was afraid I might destroy my ability to get my app back in the iPhone at a later time.

Should I have continued? Would that new profile have information it it that would allow me to install the app on both devices? I certainly don't think it makes sense to have separate profiles for each device but what do I know.

Larry

Re: Provision Profile and Multiple devices.

Posted: Wed Jan 21, 2015 2:12 pm
by Mikey
It is definitely a pain, but you have to download the modified profile to your Mac and recompile your app.

Re: Provision Profile and Multiple devices.

Posted: Wed Jan 21, 2015 11:47 pm
by lohill
Thanks Mikey,

I wrote up a small set of directions for myself when I have to add the next device. It seems to work for me. Where appropriate, substitute your profile name
for "FC Development".

1. Get the device ‘Identifier’ using Xcode while connected to the computer and copy it to the clipboard.
2. Log into the Apple Developer portal.
3. Take the option Certificates, Identifiers and Profiles from the list at the right.
4. Take the option Devices and use the Plus (+) button to add new device.
5. Take the choice to make a ‘development’ provisioning profile.
6. Edit FC Development to make sure the new device is included.
7. Download the PP to the desktop and double-click to install.
8. Use the iPhone Configuration Utility under Provisioning Profiles and notice two profiles called FC Development. Select and delete the older one by using the ‘Delete’ choice from the edit menu.
9. Go back to your LiveCode application and make sure there is only one ‘FC Development’ in the dropdown for Profile in the iOS tab and then re-compile
10. Use Xcode to either drag or “+” the compiled app to the new device.

Does this seem workable?

Larry

Re: Provision Profile and Multiple devices.

Posted: Thu Jan 22, 2015 3:21 am
by Mikey
That looks like more work than what is required. BTW, if you sign up for testFlight, some of the initial steps for obtaining the UUID for the device are taken care of for you. You define a project in testFlight and then either send an email to users or open the URL for your project in Safari on the device, and it will capture the UUID and send it to testFlight, and once you approve it, it will appear in the provisioning profile (I might have missed a step in there).

At any rate, the process of getting the updated profile on your Mac is, if memory serves, just a matter of going into XCode and updating. The updated profile is installed on your Mac.

Sorry, I'm not in front of my box, and it's going to be a couple of days before I can run this down, so if this doesn't work, please drop another note on this thread and I'll work through it.