The docs for -[NSURL startAccessingSecurityScopedResource]
state:
You must balance every call to the startAccessingSecurityScopedResource method with a corresponding call to the stopAccessingSecurityScopedResource method. If you fail to relinquish your access when you no longer need a file-system resource, your app leaks kernel resources. If sufficient kernel resources are leaked, your app loses its ability to add file-system locations to its sandbox, such as via Powerbox or security-scoped bookmarks, until relaunched.
Can anybody shed any light on what the limit on kernel resources actual is?
I don't wish to make my app reach these exact limits, just that it would be helpful to know a ballpark figure so I can judge if code is ever doing anything dangerous/stupid.