Closed edorphy closed 1 month ago
Hi @edorphy! Thanks for reporting this.
I looked deeply into this and I was able to reproduce it (but had to put the DSYM in Desktop as well). I believe NSMetadataSearchQuery will only find DSYMs in directories that the user has allowed MacSymbolicator to access. This is part of macOS sandboxing.
I think the solution might be to make MacSymbolicator ask for Full Disk Access permission so that it's able to find all DSYMs on disk.
For some reason the spotlight search (NSMetadataQuery) isn't finding a .DSYM that is in my desktop directory automatically. I know the UUID is correct because running the mdfind command in terminal has no problem.
I was looking through historical issues related to "com_apple_xcode_dsym_uuids" and I'm wondering if this isn't working as expected again. https://github.com/inket/MacSymbolicator/issues/16
My machine is running macOS Sonoma 14.2.1 (23C71)
Trying to force the app to search for it in the symbolicate button yields no results. From Xcode Version 15.2 (15C500b)
--> Optional([])
Thoughts on having a settings option the user can turn on to run the mdfind command in a Process if the spotlight search came up empty?
From the same project, this works:
--> /Users/user/Desktop/DSYMS/AppName.app.dSYM