This is what Apple says:

"If you distribute your macOS app through the App Store, you must enable App 
Sandbox. If you notarize your macOS app to distribute it outside of the App 
Store, you must enable hardened runtime and, optionally, can also enable App 
Sandbox."
https://help.apple.com/xcode/mac/current/#/devf87a2ac8f


What os does the user run who has the problems to run the app? Did he allow to 
run programs from outside the App Store?

If you don't mind, you can send me your app and i will try it here.

Regards,
Matthias

> Am 29.06.2023 um 22:50 schrieb J. Landman Gay via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> Short version: how do I bypass Gatekeeper to write a prefs file?
> 
> I need to save a file in ~/Library/Application Support/myAppFolder/. Am I 
> correct that I need to sandbox the app before I can write a file there?
> 
> I read an LC lesson that said no special entitlements are required to create 
> an app folder and a file. I can't test it myself because I already have full 
> access.
> 
> If this is correct so far, then do I just need to provide the sandbox 
> entitlement and nothing else?
> 
> -- 
> Jacqueline Landman Gay         |     jac...@hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to