Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: IoS Provisioning profile 10.1 Berlin up 2 Xcode install


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Dec 1, 2016 2:03 AM Last Post By: Mark Gorst
Mark Gorst

Posts: 23
Registered: 6/7/02
IoS Provisioning profile 10.1 Berlin up 2 Xcode install  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 28, 2016 4:47 AM
This might be more of an Apple question than Berlin, but not found the solution anywhere yet.

Have been able to run my App on OSX El Capitan on a MacBook. 10.1 Berlin Update 2.

Now I want to try on iPad 2 (IoS 10.1.1).

I've followed all the recipe suggestions I can find in Delphi docs and elsewhere.

Registered Apple Developer

Paid up to join developer program

Got development and distribution certificates

Downloaded those and installed in key chain

Registered device it's UUID

Generated a profile for dev, adhoc and app store

Profiles in keychain

The last step is to install in Xcode so they can be seen by the Project Deployment - and that's where it's falling down.

I do Xcode 8.1 - go to Window | Devices

My device is plugged in and showing. So try Show Provisioning Profiles and then use the +, select any of my three provisioning profiles, press "install" - no messages, no errors, nothing installs.

I've also tried the double click to install.

I haven't found any reference to this problem anywhere yet. I'm assuming that it's something to do with the profile configuration.

So is there something that the Xcode is expecting ? do I have to create a dummy project for my application?

In the profile I have set the Apple App ID to com.xxx.yyy where xxx is our company name an yyy is my app name.

Any help would be appreciated.

It was a breeze doing this on Android - so far had to spend x10 the cash on Apple hardware and still not working.
Mark Gorst

Posts: 23
Registered: 6/7/02
Re: IoS Provisioning profile 10.1 Berlin up 2 Xcode install  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 29, 2016 2:02 AM   in response to: Mark Gorst in response to: Mark Gorst
This YouTube video is the best source I found for explaining what is going on :

"creating ios provisioning, app id and device id to test on your apple ipad and iphone device"

https://youtu.be/VDQgoU75248

It confirmed that everything I was doing was correct. Madness has been defined as repeating the same thing over and over again and expecting a different outcome. However, I kept clearing everything down, and repeating - I don't think I did anything different but did manage to get a Development and Ad Hoc distribution profile to stick. As soon as I did the profiles showed up in provisioning and I've been able to run my FM code on the iPad 2. So full mark to Embarcadero. OSX and IoS development worked first time for me.

Sadly I'm still failing to create an App Store profile that will install in XCode. It's odd because there aren't really any permutations and it's really an assembly of the same components that made an Development and Ad Hoc provisioning profile.

If I get any reason I'll post it here.
Mark Gorst

Posts: 23
Registered: 6/7/02
Re: IoS Provisioning profile 10.1 Berlin up 2 Xcode install  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 1, 2016 2:03 AM   in response to: Mark Gorst in response to: Mark Gorst
Finally got an App Store provisioning profile to "stick". I have no idea what I did that was different, but eventually the profile stuck and I can now pick it up in Delphi.

None of this seems to be a Delphi issue, but obviously it's new territory for those who rarely venture into the Apple world.

So my tip here is that you can view what Provisioning Profiles you have installed in XCode by

(a) XCode | Preferences | Accounts and then click "View Details" and you will see the provisioning profiles (development, distribution/ad-hoc and distribution-appstore that you have installed

(b) Windows | Devices, then select the device and then select the menu item (using the cog wheel at the bottom of the window) "Show Provisioning Profiles.." to see the device specific profiles (i.e. developement and adhoc distribution, but not the appStore distribution as this is not device specific).

I hope this helps someone.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02