Our project is currently unable to display local variable values at breakpoints. Here is a screenshot of the actual result.
I saw similar posts: https://developer.apple.com/forums/thread/23264
https://stackoverflow.com/questions/28497533/po-gives-error-expr11-error-use-of-unresolved-identifier
Although I checked ever single answer and my problem is still there. Most of the answers revolve around setting -Onone optimization level, whic we already had.
I believe it has nothing to do with optimization level but with SPM. Let me explain.
I ran a git bisect to find when we introduced the problem. Turns out there is a specific commit that causes the issue and the only thing it does is adding Auth0 library to our project via SPM.
Prior to that commit, debug was working as expected. After that commit, it does not work anymore. I tried removing that specific dependency from our project and cleaning SPM caches but it didn't fix the issue.
Any ideas?
Thank you.
I saw similar posts: https://developer.apple.com/forums/thread/23264
https://stackoverflow.com/questions/28497533/po-gives-error-expr11-error-use-of-unresolved-identifier
Although I checked ever single answer and my problem is still there. Most of the answers revolve around setting -Onone optimization level, whic we already had.
I believe it has nothing to do with optimization level but with SPM. Let me explain.
I ran a git bisect to find when we introduced the problem. Turns out there is a specific commit that causes the issue and the only thing it does is adding Auth0 library to our project via SPM.
Prior to that commit, debug was working as expected. After that commit, it does not work anymore. I tried removing that specific dependency from our project and cleaning SPM caches but it didn't fix the issue.
Any ideas?
Thank you.