Can't codesign Mac app
Timothy Bleiler
bleiler at buffalo.edu
Mon Oct 9 18:23:01 EDT 2023
Jacqueline,
I had a similar problem recently. There were a couple of problems I had to fix. My error occurred during the notarization step after code signing.
One problem was that somehow my Mac was NOT a trusted device for the Apple ID I was using for development.
Verify that your Apple ID is trusted at appleid.apple.com<http://appleid.apple.com/> for your account under devices. You must click on the specific device “button" to find out. Just seeing it listed is not enough.
Despite the device not being trusted for the account, the Apple developer website let me think I’d created an app-specific password. I hadn’t succeed, but my lack of experience prevented me from realizing that the second step of the process is getting the actual password back from Apple and copying it down. I didn’t get anything, no error message, so in my ignorance I thought the seed string I’d typed in WAS the password. So, I did NOT have an actual app-specific password to use in the NotaryTool commands or in the settings mrSignNotarizeHelper V4. This caused all commands dependent on an app-specific password to fail.
What solved it for me was to go to System Settings, sign out of the Apple account on the mac and sign back in again.
Then sign back in to appleid.apple.com<http://appleid.apple.com/>, verify that my Mac was a trusted device on my developer account and then create a NEW app-specific password at the Apple developer website.
This time I saw the second part when they send the actual password. You need to copy this down because there’s no way to recover it again later.
Once I had the new app-specific password and my Mac was a trusted device in my developer account, the notaryTool commands and mrSignNotarizeHelper worked without errors.
Tim Bleiler, Ph.D.
Instructional Designer, HSIT
University at Buffalo
On Oct 9, 2023, at 5:46 PM, J. Landman Gay via use-livecode <use-livecode at lists.runrev.com> wrote:
I'm using Matthias' mrSignNotarizeHelper V3.1 with xCode 13.2.1 on Mac OS 12.6.9 (Monterey) but get a script error. The same thing happens in both LC 9.6.9 and 9.6.10 dp 6.
So then I tried notarizationHelper V4 but keep getting "no identity found" errors. I've tried all the suggestions in the lesson. This is pretty critical for me right now, does anyone know what's wrong? It was last signed successfully in May of this year.
I need to codesign today...
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.hyperactivesw.com%2F&data=05%7C01%7Cbleiler%40buffalo.edu%7C53ef9ca6c3554f11c41d08dbc9114fc7%7C96464a8af8ed40b199e25f6b50a20250%7C0%7C0%7C638324848455267470%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=SSTeiAkNbmWvOHZJ3Xqd8i%2BIzsKu4Imav9%2FJ%2BReqRac%3D&reserved=0
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.runrev.com%2Fmailman%2Flistinfo%2Fuse-livecode&data=05%7C01%7Cbleiler%40buffalo.edu%7C53ef9ca6c3554f11c41d08dbc9114fc7%7C96464a8af8ed40b199e25f6b50a20250%7C0%7C0%7C638324848455267470%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0hFpHvx2CewFhE3zfgsyFM%2BFh4d7T%2FJz%2Fh3Jnj8gpns%3D&reserved=0
More information about the use-livecode
mailing list