The bundle of my App contains a main binary "myMainBin" and an auxiliary binaries "myAuxBin".
myMainBin has the entitlement "com.apple.security.files.user-selected.read-write" and successfully read files.
myAuxBin has the following entitlements
Once launched by myMainBin, myAuxBin has its own window and menubar
Despite of the "inherit" entitlement, its Open dialogue fails opening files with the console message:
But Why ?
How can I solve this problem ?
Another strange point
If the bundle is NOT sandboxed, myAuxBin inherits the icon of the bundle (shown in the dock).
If the bundle IS sandboxed, myAuxBin exhibits the default icon
Why ?
How can I solve this problem ?
Thank you in advance.
myMainBin has the entitlement "com.apple.security.files.user-selected.read-write" and successfully read files.
Code Block <plist version="1.0"> <dict> <key>com.apple.security.app-sandbox</key> <true/> <key>com.apple.security.files.user-selected.read-write</key> <true/> </dict> </plist>
myAuxBin has the following entitlements
Code Block <plist version="1.0"> <dict> <key>com.apple.security.app-sandbox</key> <true/> <key>com.apple.security.inherit</key> <true/> </dict> </plist>
Once launched by myMainBin, myAuxBin has its own window and menubar
Despite of the "inherit" entitlement, its Open dialogue fails opening files with the console message:
Code Block Sandbox: takin(5019) deny(1) file-read-xattr /Users/xxxxx/yyyy/myDataFile.data
But Why ?
How can I solve this problem ?
Another strange point
If the bundle is NOT sandboxed, myAuxBin inherits the icon of the bundle (shown in the dock).
If the bundle IS sandboxed, myAuxBin exhibits the default icon
Why ?
How can I solve this problem ?
Thank you in advance.