Hi, I'm writing a component which I intend to use in several my apps. Some of the apps may be sandboxed. I'd like to turn off some functionality in case if the app is sandboxed and there are no entitlements that I need.
I'd be happy with either compile-time or run-time solution. I've googled a solution http://oleb.net/blog/2012/02/checking-code-signing-and-sandboxing-status-in-code/ but it's using a rather obscure Security framework and it doesn't check particular entitlements. Generally it looks like a hacky workaround. I wonder if there is a simpler straightforward solution. Thanks! _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com