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:
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.
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.
For my case the problem was about compiled time as the size of the project was big which includes lots storyboards. That was my lldb po was stuck for Xcode 11.6.
Good luck
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.