Changes between Initial Version and Version 1 of Ticket #4663, comment 21
- Timestamp:
- Oct 27, 2021, 8:11:07 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4663, comment 21
initial v1 1 1 Native apps for the Apple M1 CPU are required to be signed. An adhoc signature can be used that has no certificate and the compiler adds this by default, apparently inside the executable. The codesign command reveals this, on my ARM64 development build: 2 2 3 4 {{{ 3 5 codesign -dvvv ChimeraX.app 6 Executable=/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/MacOS/ChimeraX 7 Identifier=ChimeraX 8 Format=app bundle with Mach-O thin (arm64) 9 CodeDirectory v=20400 size=513 flags=0x20002(adhoc,linker-signed) hashes=13+0 location=embedded 10 Hash type=sha256 size=32 11 CandidateCDHash sha256=7ee198a5f3d238248eab5b3b1b5cba630a6baece 12 CandidateCDHashFull sha256=7ee198a5f3d238248eab5b3b1b5cba630a6baece0e9e89b409ca53a8b529aa40 13 Hash choices=sha256 14 CMSDigest=7ee198a5f3d238248eab5b3b1b5cba630a6baece0e9e89b409ca53a8b529aa40 15 CMSDigestType=2 16 CDHash=7ee198a5f3d238248eab5b3b1b5cba630a6baece 17 Signature=adhoc 18 Info.plist=not bound 19 TeamIdentifier=not set 20 Sealed Resources=none 21 Internal requirements=none 22 }}} 23 4 24 5 25 If I download a dmg with this adhoc signed app onto an M1 Mac I can copy the app to the Desktop but when I run it is says it is "damaged" and offers only to move it to the trash. To get it to run I can remove the HFS file system attributes from the dmg with