What's a Capability in an Apple Provisioning Profile?

Prothero-earthlearningsol prothero at earthlearningsolutions.org
Tue Apr 21 12:36:41 EDT 2020


Graham,
This is from memory. When you are in Apple’s developer portal, you choose the application destination you are targeting, and when you set the capabilities, they are appropriate for the destination hardware. It sounds like you chose MacOS instead of Mobile, iOS. It’s really easy to skip over a detail when making these provisioning decisions. Also, it’s very easy to get your latest file confused with an older one, and that’s what I suspect you did. I I were you, I’d clean out all the old Apple Developer generated stuff and start over. That’s part of the rub. You generate files on the Developer portal, they get downloaded, loaded into keychain and Xcode, stored in your library and in folders generated by  livecode, and then it’s soooo easy to leave one of those little buggers to confuse you.

It would be really nice if there was a diagram or step by step procedure that takes you through, starting with cleaning out all files, that results in success and shows where files are stored at each step (who would’ve thought files got stored in the Library folder?). Of course, Apple’s regular updates and security improvements make this more challenging. It needs to be pegged at the grade-schooler level though, so we geezers can follow it. Sounds like a plan for a creative app designer. But perhaps this already exists??

PS. I give Ralph DiMola a lot of credit and thanks for his insight and help. Thanks, Ralph!

Best,
Bill

William Prothero
http://es.earthednet.org

> On Apr 21, 2020, at 9:04 AM, Graham Samuel via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Thanks Ralph
> 
> The only even vaguely relevant one for me which is not greyed out (most are, as I said) is Maps. Since the app calls for GPS in the Standalone Settings, maybe that’s a requirement - no, hold it! The info button says it’s for MacOS only (really?). So still stuck. I am going to have to ask the mother ship, since
> 
>> The entitlements specified in your application’s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016).
> 
> Means nothing that I can understand.
> 
> Graham
> 
>> On 21 Apr 2020, at 16:14, Ralph DiMola via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Graham,
>> 
>> Unless anything has changed since my last month's release(could be possible) all I have selected is "Game Center"(can't be un-ticked), "In-App Purchase"(also can't be un-ticked). All the others can be ticked and optionally configured. Do you use any of the un-ticked options in your app?
>> 
>> Ralph DiMola
>> IT Director
>> Evergreen Information Services
>> rdimola at evergreeninfo.net
>> 
>> -----Original Message-----
>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Graham Samuel via use-livecode
>> Sent: Tuesday, April 21, 2020 9:36 AM
>> To: How to use LiveCode
>> Cc: Graham Samuel
>> Subject: Re: What's a Capability in an Apple Provisioning Profile?
>> 
>> I kind of answered my own question: the Capabilities are not available via the editing function of the Provisioning Profile, but are associated with something called the App ID Configuration (why?). However, most of the capabilities are greyed out for me (why?) and those that could be added aren’t interesting for my particular app (iCloud for example). The mystery remains. I’m beginning to wonder whether LC somehow expects one to have added Capabilities for its own reasons. LC does do some mysterious things such as code signing without the developers intervention, so maybe.
>> 
>> But I am still stuck and would still like someone who actually understands Capabilities to explain them.
>> 
>> Graham
>> 
>>>> On 21 Apr 2020, at 15:11, Graham Samuel via use-livecode <use-livecode at lists.runrev.com> wrote:
>>> 
>>> I’m trying to get my iOS app, now ready for beta test, transferred to an actual phone, after what I think are all the earlier steps both in the Apple certification system (Franz Kafka would be proud!) and in LC and in the simulator. I have also tried to follow advice generously given on this list, especially from Bill Prothero.
>>> 
>>> However, XCode refuses to put my app on the phone, and among other things seems to suggest that my Profile doesn’t have the right Capabilities. But when I return to the Apple Developer profile and look at the Profile I generated, sure enough it says ‘Enabled Capabilities: none’, but the editing function for the Profile doesn’t give an option to add any.
>>> 
>>> Does anyone know what a Capability is in this context, whether I need one, and if so, what to do to get one (or more)? If i don’t need one, why is Xcode complaining?
>>> 
>>> It is so hard to keep going in these circumstances.
>>> 
>>> Graham
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list