Code-Signing Frustration

prothero at earthlearningsolutions.org prothero at earthlearningsolutions.org
Mon Jun 19 13:36:11 EDT 2023


Thanks for the help. I did get it to load and thanks for the tip about setting “Developer Mode” on my iPhone, rather than searching around in the Apple Development site.

I must have failed to add a provision for the internet access (wifi), because it doesn’t now, but I’ll just have to check out “inclusions” in my profile and figure it out. At least I passed an obscure hurdle.

Are there any issues with obsolete provisions? I’m deleting them from the Apple ./Library/MobileDevice/Provisioning Profiles/  folder. My question, though is:
Is this where the iOS build gets its provisioning profiles? Or, does it refer back to xCode? I am operating under the assumption that if I create a provisioning profile in the online Developer site, then download it, then, in the downloads folder, double click on it (with XCode running  .. or us xCode necessary?), it will get put in the correct place. AND I’m assuming that correct place is in the ./Library/MobileDevice/Provisioning Profiles/  folder.
Correct?

Thanks for your help and feedback. I hope it might serve as a wakeup for those documenting the code signing and provisioning process to be aware of roadblocks that folks who don’t do this often will face,.

Best,
Bill

> On Jun 19, 2023, at 9:56 AM, panagiotis m via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Yay :)
> 
> @Bill
> I think you can enable Developer Mode from the Settings app of your iPhone.
> No need to rebuild/reinstall your iOS app.
> 
> Cheers,
> Panos
> 
> On Mon, 19 Jun 2023, 19:50 prothero--- via use-livecode, <
> use-livecode at lists.runrev.com> wrote:
> 
>> Folks:
>> Thanks! That was the problem. I had the “Beta ..” mode selected. Seemed
>> logical, but then I forgot about it. Wow, what a waste of time.
>> 
>> Now the app loads to my iPhone. However, when I activate it, it says
>> “Developer Mode Required”. Since I have wasted so much time on this so far,
>> I’ll ask:  “What’s the best way to set up Developer Mode”. Do I need to
>> make a new provisioning profile or can I just edit the one I’m using now?
>> 
>> Thanks,
>> Bill
>> 
>>> On Jun 19, 2023, at 8:45 AM, J. Landman Gay via use-livecode <
>> use-livecode at lists.runrev.com> wrote:
>>> 
>>> Good catch Panos, I forgot about that tricky checkbox. It should be
>> relabeled, especially since its behavior is the opposite of what one would
>> expect.
>>> 
>>> Change it to "TestFlight" or "Apple distribution" or something. If Swami
>> hadn't mentioned it once I'd be here with the same frustrations.
>>> 
>>> --
>>> Jacqueline Landman Gay | jacque at hyperactivesw.com
>>> HyperActive Software | http://www.hyperactivesw.com
>>> On June 19, 2023 9:29:52 AM panagiotis m via use-livecode <
>> use-livecode at lists.runrev.com> wrote:
>>> 
>>>> Hello Bill,
>>>> 
>>>> Do you by any chance have the "beta version" checkbox checked in the iOS
>>>> standalone settings?
>>>> 
>>>> Cheers,
>>>> Panos
>>>> 
>>>> On Mon, 19 Jun 2023, 17:25 prothero--- via use-livecode, <
>>>> use-livecode at lists.runrev.com> wrote:
>>>> 
>>>>> Panos:
>>>>> The UDID is the correct one for the new iPhone. I had updated it. I get
>>>>> the error message when I’m loading the app for debug, directly from the
>>>>> livecode IDE. It’s where you can choose to debug in the simulator, or
>> if
>>>>> the iPhone is plugged in, directly on the iphone. If I try to just
>> build
>>>>> the iOS app, I don’t get an error message. I’m not loading it from
>> XCode
>>>>> directly, but am using the debug command in the Livecode IDE.
>>>>> 
>>>>> Best,
>>>>> Bill
>>>>> 
>>>>>> On Jun 18, 2023, at 9:34 PM, panagiotis m via use-livecode <
>>>>> use-livecode at lists.runrev.com> wrote:
>>>>>> 
>>>>>> Bill,
>>>>>> 
>>>>>> I am sorry for the confusion, I meant UDID, not uuid.
>>>>>> 
>>>>>> In other words, the profile must include the id of the devices in
>> which
>>>>> it
>>>>>> is allowed to install your app. You said this is a new device, so
>> could
>>>>> it
>>>>>> be the case that the UDID that is included in your profile (I see only
>>>>> one
>>>>>> UDID in the profile you posted) is the one of your old device?
>>>>>> 
>>>>>> Also, just to double check, when do you get the error message? Is it
>> when
>>>>>> building the iOS standalone app, or when trying to install the app in
>>>>> your
>>>>>> connected device (via xcode)?
>>>>>> 
>>>>>> Kind regards,
>>>>>> Panos
>>>>>> 
>>>>>> On Mon, 19 Jun 2023, 00:30 prothero--- via use-livecode, <
>>>>>> use-livecode at lists.runrev.com> wrote:
>>>>>> 
>>>>>>> Panos:
>>>>>>> Sorry, yes, I see the UUID listed in the provisioning profile. But
>> this
>>>>>>> could be the issue. I could find the UDID, but no the UUID. Argg.
>>>>>>> 
>>>>>>> Apple seems to want folks to use UDID instead of UUID.
>>>>>>> 
>>>>>>> How can I get the UUID of my iPHone?
>>>>>>> 
>>>>>>> Best,
>>>>>>> Bill
>>>>>>> 
>>>>>>>> On Jun 18, 2023, at 1:53 PM, prothero--- via use-livecode <
>>>>>>> use-livecode at lists.runrev.com> wrote:
>>>>>>>> 
>>>>>>>> Panos:
>>>>>>>> 
>>>>>>>> I am re-posting my provisioning profile. I don’t see it in my
>> returned
>>>>>>> emails, so here it is.
>>>>>>>> 
>>>>>>>> The profile in my mobiledevice/provisioning profiles/ library is,
>> from
>>>>>>> the listing in the ../mobileprofiles directory in the Library
>> directory:
>>>>>>>> 
>>>>>>>> Profile Name: waterdetectivev6
>>>>>>>> App ID Name: WaterDetective
>>>>>>>> WaterDetective
>>>>>>>> App ID: 8ZD6TKFXZV.org.earthednet.waterdetective
>>>>>>>> 8ZD6TKFXZV.org.earthednet.waterdetective
>>>>>>>> Team: William Prothero (8ZD6TKFXZV)
>>>>>>>> William Prothero (8ZD6TKFXZV)
>>>>>>>> Platform: iOS
>>>>>>>> UUID: cb1a5510-b5f6-4593-a6bf-e398ee6953f3
>>>>>>>> Creation Date: Jun 16, 2023 at 3:20:07 PM PDT
>>>>>>>> Expiration Date: Jun 15, 2024 at 3:20:07 PM PDT
>>>>>>>> -----------
>>>>>>>> ENTITLEMENTS
>>>>>>>> application-identifier:
>>>>>>>> 8ZD6TKFXZV.org.earthednet.waterdetective
>>>>>>>> keychain-access-groups:
>>>>>>>> 8ZD6TKFXZV.*, com.apple.token
>>>>>>>> get-task-allow:
>>>>>>>> true
>>>>>>>> com.apple.developer.team-identifier:
>>>>>>>> 8ZD6TKFXZV
>>>>>>>> ---------------
>>>>>>>> CERTIFICATES
>>>>>>>> Name:
>>>>>>>> Apple Development: William Prothero (74Z6M5N26A)
>>>>>>>> Creation Date:
>>>>>>>> Jun 15, 2023 at 1:44:02 PM PDT
>>>>>>>> Serial Number:
>>>>>>>> 1BA6D4C855D751FFD3C36FDC04A5026E
>>>>>>>> SHA-1:
>>>>>>>> 255F4AF864D0AA63450790DB421128575D37DBDC
>>>>>>>> --------------
>>>>>>>> PROVISIONED DEVICES
>>>>>>>> Device ID:
>>>>>>>> 00008120-000165D40EFBC01E
>>>>>>>> -
>>>>>>>> 
>>>>>>>> 
>>>>>>>>> On Jun 18, 2023, at 1:50 PM, prothero--- via use-livecode <
>>>>>>> use-livecode at lists.runrev.com> wrote:
>>>>>>>>> 
>>>>>>>>> Panos:
>>>>>>>>> All of the profile items are in my email below. I don’t see a
>>>>> reference
>>>>>>> to a UUID, but I see in the profile a UDID, which was referenced in
>> the
>>>>>>> profile setup stuff on the Apple site as the device ID.
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>> _______________________________________________
>>>> 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