pdfcraft/packaging/macos
Tristan von Kries 8c182087df
Issue #390: build the DMG with hdiutil create so the app passes codesign --strict (#823)
* Issue #390: build the DMG with hdiutil create so the app passes codesign --strict

makehybrid -hfs wrote a com.apple.FinderInfo (Finder location -1,-1) on every
file in the image, and codesign --verify --deep --strict rejects that as
"Finder information, or similar detritus", on the app in the DMG and on a copy
installed from it. hdiutil create -srcfolder writes the files as they are; it
attaches a device while copying, so it gets up to five tries. A gate mounts
the finished image read-only and verifies the app inside with --strict.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01REz7wTfQgnopyvN9eQJJVu

* Issue #390: retry hdiutil attach and detach in the DMG gate too

As suggested in review: the gate mounts the signed image under set -e, so a
"Resource busy" there would stop a release after the DMG was built. The same
five tries with growing pauses now cover create, attach and detach.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01REz7wTfQgnopyvN9eQJJVu

---------

Co-authored-by: Tristan von Kries <tristan@MacBook-Pro-von-Tristan.local>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-10 15:50:55 -04:00
..
dmg Issue #390: build the DMG with hdiutil create so the app passes codesign --strict (#823) 2026-10-10 15:50:55 -04:00
Info.plist.in macOS: declare PDF by UTI so Open With recommends PrintCraft (#176) 2026-10-07 21:12:50 -04:00
entitlements.plist Rename PrintCraft to PdfCraft (#174) 2026-10-07 16:03:57 -04:00
import-cert.sh Rename PrintCraft to PdfCraft (#174) 2026-10-07 16:03:57 -04:00
package.sh Issue #390: build the DMG with hdiutil create so the app passes codesign --strict (#823) 2026-10-10 15:50:55 -04:00