Mac code signing difficulty

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bd525
Posts: 80
Joined: Sun Aug 31, 2014 12:43 am

Mac code signing difficulty

Post by bd525 » Mon Feb 20, 2023 5:21 pm

I'm using Mattias Rebbe's app, and trying to follow the instructions at:

https://lessons.livecode.com/m/4071/l/1 ... c-appstore

...but the complexities have me stymied. With the app I get as far as this error message:

Bruce Dalby (<Apple Development Program Enrollment ID>): no identity found process aborted

...but I don't know what I've done wrong or left out.

My keychain has a password item of "Kind: application password" with the password Apple supplied, and also the certificate created by Certificate Assistant, Developer ID Application: Bruce Dalby (<code>).

Very new to this rather complex and confusing stuff, and could use some help. Thanks.

Bruce

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7237
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Mac code signing difficulty

Post by jacque » Wed Feb 22, 2023 9:18 pm

I think the error may be referring to your Apple Team ID, which is a 10-character string assigned to your account. Here is how to get it:
https://developer.apple.com/help/accoun ... Team%20ID.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

bd525
Posts: 80
Joined: Sun Aug 31, 2014 12:43 am

Re: Mac code signing difficulty

Post by bd525 » Wed Feb 22, 2023 9:30 pm

Thanks for the input.

I seem to have gotten past the "no identity found" error, but now I'm stuck at:

Codesigning app...
executing: codesign --deep --force --verify --verbose --sign "Bruce Dalby (SLG8YJMU8V)" --options runtime "/Users/brucedalby/Documents/Tonal Assistant/Tonal Assistant.app"
/Users/brucedalby/Documents/Tonal Assistant/Tonal Assistant.app: replacing existing signature
Warning: unable to build chain to self-signed root for signer "Developer ID Application: Bruce Dalby (SLG8YJMU8V)"
/Users/brucedalby/Documents/Tonal Assistant/Tonal Assistant.app: errSecInternalComponent
process aborted

My Apple Team ID appears to be properly assigned to my account. Attached is a screenshot of my Keychain items. So maybe that's not the problem?
Attachments
Keychain Summary.jpeg

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7237
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Mac code signing difficulty

Post by jacque » Wed Feb 22, 2023 9:54 pm

I'm not sure this is the problem, but do you have the latest Apple Developer Authority certificate? Look in:
Keychain Access > Certificates > Apple Worldwide Developer Relations Certificate Authority 
It should say it expires in 2030. If not, you'll need to install it from the Developer Portal.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

bd525
Posts: 80
Joined: Sun Aug 31, 2014 12:43 am

Re: Mac code signing difficulty

Post by bd525 » Wed Feb 22, 2023 10:05 pm

I installed that certificate, but it didn't help.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7237
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Mac code signing difficulty

Post by jacque » Thu Feb 23, 2023 7:32 pm

Matthias just updated his signing tool, you could try the new version. Here is his announcement to the mailing list:

Hello,

with Xcode 13 Apple introduced a new command line tool (notarytool) which makes Notarizing much easier and more convenient. At least i feel so. ;)

For those who are interested....

There is a new lesson for Xcode 13 and 14 which describe the whole process.

The lesson also includes an updated version of my Helper stack.

https://lessons.livecode.com/m/4071/l/1 ... -13-and-up

Matthias
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”