reloading iOS provisioning profiles etc

William Prothero prothero at earthednet.org
Mon Sep 26 15:20:38 EDT 2016


Whoops! Thanked the wrong person.

Thanks, DAVE.
Best,
Bill

> On Sep 26, 2016, at 12:18 PM, William Prothero <waprothero at gmail.com> wrote:
> 
> Ben:
> Thanks so much for the procedure. I’ll try it out in a day or two and give feedback.
> Best,
> bill
> 
>> On Sep 26, 2016, at 2:22 AM, Dave Kilroy <dave at applicationinsight.com> wrote:
>> 
>> Hi Ben
>> 
>> You can’t force LC to refresh provisioning profiles - LC only uses provisioning profiles made at the developer portal and stored on you computer. These are the steps you should consider when adding a new device...
>> 
>> 
>> 
>> At the Developer Portal:
>> 
>> - add your new device’s UDID in the ‘Devices’ section
>> - in the ‘Provisioning Profile’ section edit the provisioning profile of the app you are interested in - including your new device in the ‘Devices’ box (this box is a scrolling field so all your devices may not be in view)
>> - click the ‘Generate’ button
>> - do not click the ‘Download’ button
>> 
>> 
>> 
>> On your computer (Keychain Access)
>> 
>> - check the ‘my Certificates’ section for any expired keys/certificates - zap all non-current ones
>> 
>> 
>> 
>> On your computer (Xcode)
>> 
>> - open Xcode
>> - open ‘Preferences’
>> - open the ‘Accounts’ tab
>> - click on your Apple ID
>> - click on one of the listed ‘team member’ roles (there may only be one)
>> - click the ‘View Details’ button
>> - wait a few seconds for data to refresh
>> - in the upper ‘Signing Identities’ box ensure your certificates are up to date
>> - in the lower ‘Provisioning Profiles box remove any duplicate Provisioning Profile by right-clicking them and choosing ‘Move to Trash’
>> - click any showing ‘Download’ buttons showing alongside Provisioning Profile (and get rid of all duplicate Provisioning Profiles)
>> - tidy up all the profiles in each of your ‘team role’ entries
>> - if you have any remaining profiles you can’t get rid of, right-click one of the provisioning profiles and select ‘View in Folder’ (this shows you where profiles are stored locally and you can delete all of them and download them afresh (close and reopen Xcode preferences to get it to refresh) - try to ensure that you only have valid provisioning profiles on your computer - and only one copy of each profile
>> 
>> 
>> 
>> On your computer (LiveCode)
>> 
>> - open LiveCode
>> - open your app
>> - open the ‘Standalone Application Settings’ dialog box
>> - open the iOS tab
>> - find the relevant Provisioning Profile in the ‘Profile’ drop-down (there should only be a single profile with your app’s name in the list)
>> - save your app
>> - try building an iOS standalone
>> 
>> 
>> 
>> You should now have built a new version of your app that can be installed on your new device.
>> 
>> 
>> 
>> BTW the reason I recommend not clicking the ‘download’ button on the Developer Portal is that getting Xcode to do the downloading is neater and means it’s easier to ensure you only have a single and valid Provisioning Profile for each of your development apps on your machine for LiveCode to access
>> 
>> One other thing - I always add “ - development” or “ - distribution” to profile names so that when it comes to adding the correct one from the LiveCode drop-down I can be sure I’m adding the correct type of profile…
>> 
>> Kind regards
>> 
>> Dave
>> 
>> 
>> 
>>> After adding a new device to my registered set in my Apple developer account, 
>>> how can I get LC to recognise it? 
>>> 
>>> I go through this every now and then, conduct a lot of superstitious rituals, 
>>> eventually I get there.. but I never know how. 
>>> 
>>> I've launched Xcode, used it to build an app to the device, which caused it to 
>>> say that there was a problem and offer to fix it. Now Xcode can build to the 
>>> new device, but LiveCode still not. 
>>> 
>>> The message (when I ask Xcode to add the newly built app to the device) is 
>>> 
>>>       The executable was signed with invalid entitlements. 
>>> 
>>>       The entitlements specified in your application’s Code Signing 
>>> Entitlements file do not match those specified in your 
>>>       provisioning profile. (0xE8008016). 
>>> 
>>> 
>>> In LC, I've selected a different provisioning profile, selected the original 
>>> one again, quit and restarted LC, turned to face east, hailed cthulhu, etc... 
>>> all the usual things... still no luck. 
>>> 
>>> So, how do I force LC to refresh the provisioning profiles, or otherwise to 
>>> build an app which can be installed on a new device? 
>>> 
>>> Secondary question: how do I get LC to stop seeing every old profile I've ever 
>>> had (many with the same name) in the "Profile" popup on the iOS tab of the 
>>> Standalone Settings window? 
>> 
>> TIA, 
>> 
>> Ben 
>> _______________________________________________
>> 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