-
-
Notifications
You must be signed in to change notification settings - Fork 79
Building a distribution ready CEmu .app for macOS
Adrien Bertrand edited this page Mar 29, 2020
·
3 revisions
To make sure CEmu launches correctly on recent macOS versions (especially 10.15/Catalina):
- Build it normally
-
cd
where the built.app
is. macdeployqt CEmu.app
sudo codesign --deep --force --verify --verbose --sign "Developer ID Application: Adrien Bertrand (Z3B7V95FNU)" --timestamp --options runtime CEmu.app
ditto -ck --rsrc --sequesterRsrc CEmu.app CEmu.zip
xcrun altool --notarize-app --primary-bundle-id "com.adriweb.CEmu" --username "..." --asc-provider "..." -t osx --file CEmu.zip
- Get the Request UUID from the command above
- Wait for a while (check with
xcrun altool --notarization-info [RequestUUID] --username "..."
) - Once it's OK,
xcrun stapler staple CEmu.app
To compress it into a .dmg:
-
hdiutil create -volname "CEmu" -srcfolder "CEmu.app" -ov -format UDZO "CEmu_macOS.dmg"
(or try with UDBZ?) sudo codesign --deep --force --verify --verbose --sign "Developer ID Application: Adrien Bertrand (Z3B7V95FNU)" --timestamp --options runtime CEmu_macOS.dmg
xcrun altool --notarize-app --primary-bundle-id "com.adriweb.CEmu" --username "..." --asc-provider "..." -t osx --file CEmu_macOS.dmg
- Get the Request UUID from the command above
- Wait for a while (check with
xcrun altool --notarization-info [RequestUUID] --username "..."
) - Once it's OK,
xcrun stapler staple CEmu_macOS.dmg
(to get asc-provider (use the short name) -> xcrun altool --list-providers --username "..."
)
References: