I believe there are some nice applications that makes the process easier,
but you can still use basic command line tools to deploy a built 4D desktop 
application for macOS.

 if you want to create an installer package, the steps are:

1. sign the application and move it to /Applications (locally)
2. create a signed package of the signed application

snippets:

1.

codesign -s "Developer ID Application: keisuke miyako (Y69CWUC25B)" sample.app

2.

pkgbuild --component /Applications/sample.app --sign "Developer ID Installer: 
keisuke miyako (Y69CWUC25B)" /Users/miyako/Desktop/sample.pkg

Note: you use a different certificate for 1 and 2. (2 is an installer 
certificate. since this is not an App Store deployment, you use pkgbuild, not 
productbuild)

https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html

alternatively, you could use a disk image instead of an installer package.

1. create a disk image of the application
2. create a signed disk image of the application

snippets:

1.

hdiutil create -srcfolder sample.app sample.dmg

2.

codesign -s "Developer ID Application: keisuke miyako (Y69CWUC25B)" sample.dmg

if the application or installer or disk image is not signed, it will be 
translocated and launch in read-only mode.

https://developer.apple.com/library/content/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG17

miyako



**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to