• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to check if the app is sandboxed and what entitlements it has got?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to check if the app is sandboxed and what entitlements it has got?


  • Subject: How to check if the app is sandboxed and what entitlements it has got?
  • From: Oleg Krupnov <email@hidden>
  • Date: Sat, 27 Oct 2012 13:21:21 +0300

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 (email@hidden)

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:

This email sent to email@hidden

  • Prev by Date: Re: Binding alignment property of NSTextField
  • Next by Date: Re: App rejection due to app-sandboxing invalid entitlement
  • Previous by thread: Re: Binding alignment property of NSTextField
  • Next by thread: Sandbox, security bookmarks and trash
  • Index(es):
    • Date
    • Thread