App fails to launch after code signing

scott at elementarysoftware.com scott at elementarysoftware.com
Mon Apr 26 00:28:38 EDT 2021


Adding the entitlement did the trick (I thought that I had tried it already but apparently not.) Oddly, I found that if I just swapped the revzip.bundle with one from an earlier version of LC I was able to build it without entitlements. Thanks for the help.
—Scott

ps. Out of curiosity, what might cause the app/installer to change if it were launched before signing?

> On Apr 25, 2021, at 5:43 PM, Peter Bogdanoff via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Also, you don’t want to test the app/installer before signing it—that could cause things to fail.
> 
> Peter
> 
>> On Apr 25, 2021, at 4:44 PM, scott--- via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> Thanks for that pointer, Phil. It is suggestive of where I should start digging first.
>> 
>>>> Scott
>> 
>>> On Apr 25, 2021, at 6:43 AM, Jimmieson, Phil via use-livecode <use-livecode at lists.runrev.com> wrote:
>>> 
>>> Hi Scott,
>>> 
>>> I had something similar with an app that uses revZip. Have a look at this discussion on livecode’s bug reporter site:
>>> 
>>> 
>>> https://quality.livecode.com/show_bug.cgi?id=23176
>>> 
>>> Sent from my iPhone
>>> 
>>> On 25 Apr 2021, at 11:38, scott--- via use-livecode <use-livecode at lists.runrev.com> wrote:
>>> 
>>> I just tried building the app using LC 9.5.1 (business) rather than 9.6.2 (rc 5) which is what I had been using. And it worked… which is great but I have no idea why.
>>> 
>>>>>> Scott
>>> 
>>> 
>>> On Apr 25, 2021, at 1:04 AM, scott--- via use-livecode <use-livecode at lists.runrev.com> wrote:
>>> 
>>> I have created a standalone Mac app. It launches and works as expected. The problem is that after code signing it (though it throws a few errors they seem to all be ones that are generally regarded as bogus error messages) the app fails to launch.
>>> 
>>> It reports success for code signing, notarization and staplication.
>>> I’m using a lightly modified version of  Matthias Rebbe’s great  < mrSignNotarizeHelperV2-LC_lesson.livecode > to do the heavy lifting. Checking with the terminal shows:
>>> 
>>> "valid on disk”
>>> "satisfies its Designated Requirement"
>>> 
>>> When I look in the console I see this happens when the app tries to launch:
>>> 
>>> "AddInstanceForFactory: No factory registered for id <CFUUID 0x7fae534148a0> F8BB1C28-BAE8-11D6-9C31-00039315CD46”
>>> 
>>> This app uses the following inclusions (added manually)
>>> tsNet
>>> mergJSON
>>> Revolution Zip
>>> Internet
>>> DataGrid
>>> 
>>> The Googles seem to indicate that it is associated with AV stuff (primarily audio) but my app doesn’t do anything like that. Any ideas what this might mean?
>>> 
>>> --
>>> Scott Morrow
>>> 
>>> Elementary Software
>>> (Now with 20% less chalk dust!)
>>> web       https://elementarysoftware.com/
>>> email     scott at elementarysoftware.com
>>> booth    1-360-734-4701
>>> ------------------------------------------------------
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> 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