On Feb 15, 2012, at 5:49 AM, Kyle Sluder wrote:

>> So 10.7.3 added URLs you can restore in a sandboxed process after relaunch 
>> (AKA, needed by tons of apps that will be sandboxed), but I can't get them 
>> to work.
>> 
>> http://www.opensource.apple.com/source/CF/CF-635.19/CFURL.h
>> 
>> Whenever I try to create bookmark data with CFURLCreateBookmarkData passing 
>> kCFURLBookmarkCreationWithSecurityScope, I get a NULL result and no error. 
>> Anyone managed to figure this out?
> 
> I wonder if it's related to the reluctance of Apple employees to discuss this 
> feature yet on the dev forums. Last official word is that the announcement of 
> this feature was premature.

That word was a couple days before 10.7.3 was released, so I understood it as 
being "10.7.3 isn't out yet, so this is premature." 

Turns out, with an extra mach service entitlement 
(com.apple.security.temporary-exception.mach-lookup.global-name / 
com.apple.scopedbookmarksagent.xpc) you can get it work, but given that, the 
lack of errors otherwise, and the fact that some of the API seems to be 
incorrect, it seems to me the API really isn't finished. I don't see how this 
March sandboxing deadline can be met.



--
Seth Willits

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to