Re: What's a Capability in an Apple Provisioning Profile?

2020-04-21 Thread Mark Talluto via use-livecode
On Apr 21, 2020, at 6:11 AM, Graham Samuel via use-livecode 
 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.

Here is something that helped me when I was setting up my system for iOS 
development.

You can build up various profiles in your OS that may be expired or created 
with an incomplete device list. This can happen when you add devices. You then 
have to edit your profile and update the devices available. When you download 
that profile and double-click it, a copy is added to your OS. I had originally 
thought it was smart updating my profile with the same name. Not so.

Check this path on your OS:  /Users/Graham/Library/MobileDevice/Provisioning 
Profiles

You might consider deleting all of them. Then download your current profile and 
double click on it. You will see a new file in the path above. You do not need 
to restart LC to see the updated profile. I switch tabs in the Standalone 
Builder to Windows or Mac, then back to iOS. The profile dropdown will now show 
the updated state of that path above. Pick the profile again and continue on.

Best regards,

Mark Talluto
livecloud.io 
nursenotes.net 
canelasoftware.com 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: What's a Capability in an Apple Provisioning Profile?

2020-04-21 Thread Graham Samuel via use-livecode
Bill, I do really appreciate your help and Ralph’s. I admit I know nothing 
about this Apple-designed maze and somehow the whole process is so different 
from software development that it is almost impossible to learn a rational 
route through it all, so I applaud your idea that someone could provide that, 
with lots of ways of backing out of gotchas, as it were. 

In my particular case, I have definitely got an iOS Development Profile, and 
indeed no other. I have a thing called an iOS WildCard app ID as well. I have 
tried to follow your advice and clear out all my expired stuff from when I 
created desktop apps etc. But I am still stuck.

I have finally asked LC support about it, and perhaps they will have the time 
to help. If they do find a way through, then I will report back here to say how 
the problem was solved. If I can’t get anywhere, then I think I shall have to 
abandon this development. As it was supposed to be a free app, i won’t lose any 
money, but my pride will definitely be hurt! I really don’t know how much 
benefit it would have provided to my target community, but looks like I’m never 
going to find out.

Thanks for all your help so far.

Graham

> On 21 Apr 2020, at 18:36, Prothero-earthlearningsol via use-livecode 
>  wrote:
> 
> 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 s 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 
>>  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 
>>>  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
>>> rdim...@evergreeninfo.net
>>> 
>>> -Original Message-
>>> From: use-livecode [mailto:use-livecode-boun...@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 
>>>

Re: What's a Capability in an Apple Provisioning Profile?

2020-04-21 Thread Prothero-earthlearningsol via use-livecode
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 s 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 
>  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 
>>  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
>> rdim...@evergreeninfo.net
>> 
>> -Original Message-
>> From: use-livecode [mailto:use-livecode-boun...@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 
>>>>  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.
>&

Re: What's a Capability in an Apple Provisioning Profile?

2020-04-21 Thread Graham Samuel via use-livecode
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 
>  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
> rdim...@evergreeninfo.net
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@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 
>>  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@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: What's a Capability in an Apple Provisioning Profile?

2020-04-21 Thread Ralph DiMola via use-livecode
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
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@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 
>  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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: What's a Capability in an Apple Provisioning Profile?

2020-04-21 Thread Graham Samuel via use-livecode
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 
>  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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode