Notarisation requirement and future of Mac builds

Making a dmg today, the notarization is failed with the hardened run time error. What should I do?

“status”: “Invalid”,
“statusSummary”: “Archive contains critical validation errors”,
“statusCode”: 4000,
“The executable does not have the hardened runtime enabled”

It was OK on Jan 7th 2020 with 2018.3326 but it fails now I tried the same source files to build with 2020.3573. Now the dmg built with 2018.3326 fails too.

xcode 11.3  macos 10.14.6

macOS SDKs:

   DriverKit 19.0   -sdk driverkit.macosx19.0

   macOS 10.15  -sdk macosx10.15

Hey, @ymmtny.

So, recently apple made some changes to Notarization: https://developer.apple.com/news/?id=12232019a

I updated Core to be properly notarized. It took a while, but apps should be much easier. Patch / instructions are coming soon.

Also, could you provide full link to the log? it would be helpful. You can PM it to me if you don’t want to post it publicly.

notarization-info is pasted. my app uses zip and openssl plugin.

{

  “logFormatVersion”: 1,

  “jobId”: “93ae05cc-9e42-47c0-910f-fe22cdf3d71d”,

  “status”: “Invalid”,

  “statusSummary”: “Archive contains critical validation errors”,

  “statusCode”: 4000,

  “archiveFilename”: “storyboard-plugin-manager_20-02-09.dmg”,

  “uploadDate”: “2020-02-09T12:28:38Z”,

  “ticketContents”: null,

  “issues”: [

    {

      “severity”: “error”,

      “code”: null,

      “path”: “storyboard-plugin-manager_20-02-09.dmg/Storyboard Plugin Manager.app/Contents/MacOS/Storyboard Plugin Manager”,

      “message”: “The executable does not have the hardened runtime enabled.”,

      “docUrl”: null,

      “architecture”: “x86_64”

    }

  ]

}

Thank you very much. Changes already made, new build should be up soon (2-3 hours) if everything would go by the plan.

Does it work now (with 2020.3574)?

Yes, I have got  the “Status Message: Package Approved” now with  2020.3574.

Thank you!

I’m still getting notarization errors using the same build…  any advice?

https://i.imgur.com/nWkm2Lt.png