Search code examples
iosxcodedebugginglldb

Xcode lldb po command doesn't output info


For some reason lldb stopped outputting any information when running p or po commands.

As suggested in other topic I have tried the following without any success:

  • Cleaning the project
  • Optimization Level project setting set to none
  • Debug Information Format set to DWARF with dSYM File

I am running Xcode 12.2 on MacOS BigSur 11.0.1 but I that happens prior updating both XCode and the OS.

enter image description here


Solution

  • Found the issue !

    The issue was that we had an import in PROJECT_NAME-Bridging-Header.h which was making Foundation and UIKit frameworks globally available across the project. As soon as we removed that import the debugging was back to normal.

    It it really-project specific issue. The answer might not help you if you are dealing with different kind of setup in your project.