Filed as FB10113830.
Post
Replies
Boosts
Views
Activity
Ugh, I feared that would be the case. 2024 and the limitations of the App Sandbox on macOS, while good intentioned, continue to bite.
If I remember, there's a private NSXPCCoder class (or similarly named), that is encoding objects being sent to an XPC service. Some objects, like NSURL are handled in a special, undocumented way.
Notably, you could encode a plain NSURL, without bookmark data, and it "just works", or at least I recall it working. xpc_session is so promising!
:(
I wonder if I can just "touch" the file on the application side so that I can then create a bookmark for the XPC service.
The use case is creating a new SQLite database in the XPC service... In that context, another problem that needs addressing is how to handle WAL files. If I grant access to my_database.db and then SQLite needs to create a WAL file, it won't be able to. I fear that might be another deal breaker.
Thanks Quinn....
(Revisiting some old apps and app ideas...)
Update: As of 2024/10/28 8pm EST, the download appears to now be working.