My assumption is that the application is falling victim to Gatekeeper and being 
translocated to a read-only location. Apple documents how to get around this; 
they suggest signing the app and placing it on a dmg and then signing the dmg. 
Quote from Apple: "For distribution outside of the Mac App Store, the preferred 
options are to use a signed disk image (DMG) or signed installer package. 
Signing these allows validation of the contents and their source. ZIP archives 
may also be used, but this is discouraged."

However they also mention that if you still deliver the application as a zip 
file then you would need to place the application into the root of the 
/Applications/ folder; so if your application is named myApp.app it should be 
moved exactly to /Applications/myApp.app right after extracting it from the ZIP 
file (not after attempting to run it from somewhere else). But I am pretty sure 
for this to work the application is still supposed to be signed.

Sometimes you can right clicking on the application and choosing "Open" to get 
passed gatekeeper warning about unsigned applications, but I am not sure if 
this affects app translocation.

As a last minute alternative, maybe there is an extended attribute you can 
remove from the installed application (using 'xattr -cr 
/Applications/myApp.app' from a terminal) to get it out of quarantine. I don’t 
know if this will work, but maybe it can help.

Here are some references that may help:
http://kb.4d.com/assetid=77688
https://developer.apple.com/library/content/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTAG17
https://apple.stackexchange.com/questions/87313/how-to-remove-xattr-com-apple-quarantine-from-all-webarchive-files-with-that-ex


Hope that helps!

-Tim



**********************************************************************
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:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to