E-Maculation
https://emaculation.com/forum/

Notarize SheepShaver for Catalina?
https://emaculation.com/forum/viewtopic.php?f=20&t=10245
Page 1 of 1

Author:  emendelson [ Fri Jul 05, 2019 2:16 pm ]
Post subject:  Notarize SheepShaver for Catalina?

Mostly as a learning exercise, I tried to build SheepShaver from kanjitalk755's code, using my Apple developer account so that I could create a notarized build that would run in Catalina without going through the Open menu. No matter what I did, I was only able to archive the app so that I could distribute the "Content" but not distribute the App from the Archive Manager, and this meant that I couldn't notarize the app.

Other people have had similar problems with other apps, but none of the solutions that I found online were able to work. It may have something to do with the SDL framework, but that's only a guess. If anyone is able to figure this out, please let us know.

Author:  kanjitalk755 [ Sat Jul 06, 2019 11:38 am ]
Post subject:  Re: Notarize SheepShaver for Catalina?

After investigating, it seems that it is necessary to register for Apple Developer Program (99USD/year).

https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution

Quote:
Use a “Developer ID” application, kernel extension, or installer certificate for your code-signing signature. (Don't use a Mac Distribution or local development certificate.)

https://developer.apple.com/support/developer-id

Quote:
To distribute your Mac software with Developer ID, you will need to be a member of the Apple Developer Program or Apple Developer Enterprise Program, obtain a Developer ID certificate, and submit your app to be notarized by Apple.

https://developer.apple.com/support/compare-memberships

Author:  emendelson [ Sat Jul 06, 2019 2:34 pm ]
Post subject:  Re: Notarize SheepShaver for Catalina?

I have an Apple Developer ID ($99/year) and I can notarize my AppleScript applications. The problem with SheepShaver seems to have something to do with the required "Hardened Runtime Enabled" setting, but I am still trying to figure out exactly what goes wrong. I will have more details soon, I hope, but this may not be worth the trouble to fix.

EDIT: Yes, if you build with "Hardened Runtime Enabled" and then archive and export the application, it crashes. SheepShaver apparently cannot run when built with Hardened Runtime Enabled. There is probably no reason to try to fix this.

Author:  kanjitalk755 [ Sat Jul 06, 2019 4:39 pm ]
Post subject:  Re: Notarize SheepShaver for Catalina?

I have added an entitlement file to avoid crash when Hardened Runtime and JIT enabled.

https://github.com/kanjitalk755/macemu

Author:  emendelson [ Sat Jul 06, 2019 6:25 pm ]
Post subject:  Re: Notarize SheepShaver for Catalina?

Thank you, kanjitalk755!

The app builds successfully with Hardened Runtime Enabled in the settings, and it runs from the output folder in the Project Settings dialog. But the Hardened Runtime feature is apparently not actually created until I archive the application. Unfortunately, the archived application crashes.

For what it is worth, here is the crash report:

https://www.dropbox.com/s/0vs6vbbi3dbrq ... t.txt?dl=1

I think this can only be solved by a real programmer (not me, obviously) working with a Developer account, and it may not be possible at all, so please do not spend any more time on it.

Thank you again for all your work on this project!`

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/