Been scouring on this --
Having sandboxed with --options runtime --timestamp --entitlements and the following in the entitlements.xml, while code signing
<key>com.apple.security.app-sandbox</key> <true/>
the app needs access to user home dir to add logs and permanently stored keys for the MacBook/user.
Having added this also
<key>com.apple.security.temporary-exception.files.home-relative-path.read-write</key>
<array> <string>/.myorg/</string> </array>
Still unable to add log files or create the .myorg directory in the users' home dir, but rest of the app works.. The very first install and activation triggers some permanent keys created and stored in that dir.
Unsigned app works, but the signed one with entitlements does not. No directory is created.
Any other entitlements I am missing? Appreciate some pointers here. Thanks in advance.
Having sandboxed with --options runtime --timestamp --entitlements and the following in the entitlements.xml, while code signing
<key>com.apple.security.app-sandbox</key> <true/>
the app needs access to user home dir to add logs and permanently stored keys for the MacBook/user.
Having added this also
<key>com.apple.security.temporary-exception.files.home-relative-path.read-write</key>
<array> <string>/.myorg/</string> </array>
Still unable to add log files or create the .myorg directory in the users' home dir, but rest of the app works.. The very first install and activation triggers some permanent keys created and stored in that dir.
Unsigned app works, but the signed one with entitlements does not. No directory is created.
Any other entitlements I am missing? Appreciate some pointers here. Thanks in advance.