Switch to full style
About SheepShaver, a PPC Mac emulator for Windows, MacOSX, and Linux that can run System 7.5.3 through MacOS 9.0.4.
Post a reply

Notarize SheepShaver for Catalina?

Fri Jul 05, 2019 2:16 pm

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.

Re: Notarize SheepShaver for Catalina?

Sat Jul 06, 2019 11:38 am

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

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

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

Re: Notarize SheepShaver for Catalina?

Sat Jul 06, 2019 2:34 pm

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.

Re: Notarize SheepShaver for Catalina?

Sat Jul 06, 2019 4:39 pm

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

https://github.com/kanjitalk755/macemu

Re: Notarize SheepShaver for Catalina?

Sat Jul 06, 2019 6:25 pm

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!`
Post a reply