Thank you for looking into it, very much appreciated. I'm not sure if the errors from the logs you posted are related to the underlying issue.
Those same error/exception logs always show up when resolving the first bookmark after app launch, regardless of whether that bookmark resolves/fails. And they also show up on macOS 15.
Here are the debug logs for a bookmark that was created before updating to 14.7.5:
default 11:20:08.512031+0200 <app-name> Resolving bookmark: <private>
debug 11:20:08.512159+0200 <app-name> bookmarkRef=<0x600001b2c660 <private>> options=0x400 relativeToURL=(null) propertiesToInclude=(null) repIsStaleP=0x16db12a58 errorRefP=0x16db12898
debug 11:20:08.512214+0200 <app-name> Client beginning scoped bookmark resolution.
debug 11:20:08.512233+0200 <app-name> Resolution request message is prepared and about to be sent to the agent.
debug 11:20:08.512612+0200 <app-name> 0x6000036935c0 rule ^Contents$ added (weight 0, flags 0x12)
debug 11:20:08.512650+0200 <app-name> 0x6000036937a0 rule ^(\.LSOverride|\.DS_Store|Icon
|\.SoftwareDepot\.tracking)$ added (weight 0, flags 0x9)
debug 11:20:08.512666+0200 <app-name> entering /Users/user/Desktop/<app-name>.app
debug 11:20:08.512703+0200 <app-name> entering /Users/user/Desktop/<app-name>.app/Contents
debug 11:20:08.512713+0200 <app-name> leaving /Users/user/Desktop/<app-name>.app/Contents
debug 11:20:08.512721+0200 <app-name> leaving /Users/user/Desktop/<app-name>.app
debug 11:20:08.512881+0200 <app-name> open(/Users/user/Desktop/<app-name>.app/Contents/MacOS/<app-name>,0x0,0x1b6) = 34
debug 11:20:08.512919+0200 <app-name> open(/Users/user/Desktop/<app-name>.app/Contents/MacOS/<app-name>,0x0,0x1b6) = 35
debug 11:20:08.512933+0200 <app-name> 0x60000369a620 is a thin file (arm64)
debug 11:20:08.512943+0200 <app-name> close(34) err: 0
debug 11:20:08.513209+0200 <app-name> 77006 signing bytes in 5 blob(s) from /Users/user/Desktop/<app-name>.app/Contents/MacOS/<app-name>(arm64)
debug 11:20:08.513361+0200 <app-name> failed to fetch /Users/user/Desktop/<app-name>.app/Contents/_CodeSignature/CodeRequirements-1 error=-10
debug 11:20:08.513381+0200 <app-name> SecStaticCode network default: YES
debug 11:20:08.513437+0200 <app-name> close(35) err: 0
default 11:20:08.513464+0200 <app-name> [0x600002a93930] activating connection: mach=true listener=false peer=false name=com.apple.scopedbookmarksagent.xpc
debug 11:20:08.513870+0200 ScopedBookmarkAgent (peer pid=1119) new peer connection.
default 11:20:08.513921+0200 ScopedBookmarkAgent [0x14d005080] activating connection: mach=false listener=false peer=true name=com.apple.scopedbookmarksagent.xpc.peer[1119].0x14d005080
debug 11:20:08.513986+0200 ScopedBookmarkAgent (peer pid=1119) peer sent message. message_type=reso
debug 11:20:08.514010+0200 ScopedBookmarkAgent Handling resolution of a scoped bookmark.
debug 11:20:08.514027+0200 ScopedBookmarkAgent Collection file descriptor missing or unresolvable, inferring app scope.
debug 11:20:08.514072+0200 ScopedBookmarkAgent bookmarkRef=<0x14d106ad0 <private>> options=0x8000400 relativeToURL=<private> propertiesToInclude=(null) repIsStaleP=0x16bd09420 errorRefP=0x16bd092d8
debug 11:20:08.514137+0200 ScopedBookmarkAgent CFURLCreateByResolvingBookmarkData failed with error [Error Domain=NSCocoaErrorDomain Code=259 "app-scope or collection-scope key doesn't match the key in the bookmark" UserInfo={NSDebugDescription=app-scope or collection-scope key doesn't match the key in the bookmark}].
debug 11:20:08.514167+0200 ScopedBookmarkAgent (peer pid=1119) sent reply to peer.
debug 11:20:08.514213+0200 <app-name> Received agent reply.
debug 11:20:08.514225+0200 <app-name> No resolved path present in agent reply, aborting.
default 11:20:08.514254+0200 <app-name> [0x600002a93930] invalidated after the last release of the connection object
default 11:20:08.514313+0200 ScopedBookmarkAgent [0x14d005080] invalidated after getting a no-senders notification - client is gone
debug 11:20:08.514594+0200 <app-name> Bundle: <private>, key: <private>, value: (null), table: FoundationErrors, localizationNames: (null), result: The file couldn’t be opened because it isn’t in the correct format.
debug 11:20:08.514767+0200 <app-name> Bundle: <private>, key: <private>, value: (null), table: FoundationErrors, localizationNames: (null), result: The file couldn’t be opened because it isn’t in the correct format.
debug 11:20:08.516128+0200 <app-name> Bundle: <private>, key: <private>, value: (null), table: FoundationErrors, localizationNames: (null), result: The file couldn’t be opened because it isn’t in the correct format.
default 11:20:08.516151+0200 <app-name> Resolving bookmark fail: Error Domain=NSCocoaErrorDomain Code=259 --- <private>
This seems related to r.140342863 — Has the app scope key changed in 14.7.5? The key from the old bookmark does not seem valid anymore.
Logs for a new bookmark that succeeds, and the raw bookmark data in case it's useful are available here:
https://gist.github.com/floorish/37f972c5411fa61025fbfbe114a84b35
I haven't tried resolving without security scope, but that is not useful in this case since the app already knows the path(s) which are stored separately. The app needs read/write access to these locations and the user may have imported multiple locations. It is possible to restore access by using the open panel again, but that is exactly what I want to prevent. Bookmark data is supposed to give persistent access to a user opened location, isn't it?
--
Regarding the issue reporting process: I'll keep this short since I don't want to lose focus from the original issue. I understand it and I just wanted to give my feedback. I really do appreciate you being here and actively interacting with posts, in particular this one, that's much appreciated. But it's hit or miss, some posts are just ignored, either here or in Feedback Reporter.