I'm trying to debug my iOS app in Xcode, but my breakpoints are not working. When I hover over a breakpoint, I see this message:
"Xcode won’t pause at this breakpoint because it has not been resolved."
Resolving it requires that:
The line at the breakpoint is compiled.
The compiler generates debug information that is not stripped out (check the Build Settings).
The library for the breakpoint is loaded.
What I've Tried
've already tried the following solutions, but the issue persists: ✅ Running in Debug Mode:
Product → Scheme → Edit Scheme → Debug executable is checked.
✅ Cleaning and Rebuilding the Project:
Cmd + Shift + K to clean.
Cmd + B to rebuild.
✅ Checking Debug Information Format:
Build Settings → Debug Information Format is set to DWARF with dSYM File.
✅ Disabling Optimizations:
Build Settings → Optimization Level → Debug is set to None [-O0].
✅ Rebuilding with Debugging Symbols:
Product → Perform Action → Rebuild with Debugging Symbols.
✅ Restarting Xcode & Mac
No luck even after a fresh restart.
one thing I recently updated Mac OS git desktop and Xcode as well