AW: AW: codesigning FAILS with Umlaute

toolbook at kestner.de toolbook at kestner.de
Fri Jun 18 06:47:18 EDT 2021


Strangely enough, codesigning and notarizing a package with umlauts still works and is verified by Apple.
Since codesigning a package has to be done with "productsign" and not "codesign" it looks as "codesign" is broken and not the shell.
Tiemo


-----Ursprüngliche Nachricht-----
Von: use-livecode <use-livecode-bounces at lists.runrev.com> Im Auftrag von Tiemo via use-livecode
Gesendet: Donnerstag, 17. Juni 2021 15:04
An: 'How to use LiveCode' <use-livecode at lists.runrev.com>
Cc: toolbook at kestner.de
Betreff: AW: AW: codesigning FAILS with Umlaute

If it is codesign or the shell, the weird thing is, that Apple broke it. Codesigning worked for me in the terminal for years with my Umlaut app.
The times of the 90th, when there was nothing more compatible as a Mac are gone forever. I love Windows!

Tiemo

-----Ursprüngliche Nachricht-----
Von: use-livecode <use-livecode-bounces at lists.runrev.com> Im Auftrag von Paul Dupuis via use-livecode
Gesendet: Donnerstag, 17. Juni 2021 13:42
An: use-livecode at lists.runrev.com
Cc: Paul Dupuis <paul at researchware.com>
Betreff: Re: AW: codesigning FAILS with Umlaute

My guess (and it is just a guess) is that this failure has noting to do with Apple's codesigning.

If, since 9.6.1, LiveCode does an ad-hoc code signing, I suspect it is doing that via a call to the "shell" command to issue the same codesign command you would do through Terminal under macOS. If so, the bug is in the engine's "shell" command, in that Shell does not support Unicode.

See https://quality.livecode.com/show_bug.cgi?id=22334

Perhaps this will be incentive for LC to fix this bug.


On 6/17/2021 3:02 AM, Tiemo via use-livecode wrote:
> Hello Mark,
>
> thank you for jumping in with your expertise - it works! I appreciate 
> your efforts very much!
> I never would have dared to rename an app after signing and notarization.
>
> I am so glad, you found a solution. My app is named since 12 years 
> "DGS-Wörterbuch", because the German spelling of "dictionary" is 
> "Wörterbuch" - with an Umlaut and nothing else. Every other spelling 
> wouldn't look very professional for a German.
>
> So probably the other issue of my first post (fail on building a 
> standalone with Umlaut) is related to the new ad-hoc signing feature 
> of LC 9.6. and is based on the same codesign bug of xCode (it worked 
> for years without problems). I will send a bug report to Apple.
>
> Thank you again!
> Tiemo
>
>
> -----Ursprüngliche Nachricht-----
> Von: use-livecode <use-livecode-bounces at lists.runrev.com> Im Auftrag 
> von Mark Waddingham via use-livecode
> Gesendet: Mittwoch, 16. Juni 2021 17:53
> An: How to use LiveCode <use-livecode at lists.runrev.com>
> Cc: Mark Waddingham <mark at livecode.com>
> Betreff: Re: codesigning FAILS with Umlaute
>
> On 2021-06-16 16:28, Tiemo via use-livecode wrote:
>> Any idea? please no stories about your doctor experiences .
>>
> So I asked Ian to have a look into this - my first thought was that we 
> were missing an appropriate textEncode when building the shell command 
> in the S/B to do the codesigning...
>
> (The S/B since 9.6.1 does an 'ad-hoc' codesign on standalones as 
> otherwise
> Catalina+ can complain)
>
> However, it would appear that 'codesign' does not like the executable 
> name (the bit in Contents/MacOS) having accented chars.
>
> So I think you'll have to tweak the app name in the S/B mac options to 
> remove the umlaut - then the internal exe will be fine; then after 
> you've built - just rename the app bundle to be the one with the umlaut.
>
> This shouldn't affect verification of the signed app at all as its 
> everything *inside* the .app folder which is signed (the internals are
> - the plist contains a ref to the actual executable name, and plist is 
> used to generate the code signature, along with the other stuff in the app).
>
> Hope this helps!
>
> Mark.
>
> --
> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>
> _______________________________________________
> 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