問題描述:

image.png
正常情況下,變量值是可以點開看詳細內(nèi)容的,之前個人不知道什么時候突然間變成了上圖的情況,折騰了好久終于解決了。由于google上解決辦法很多種,我自己是試到第四種才順利解決,這里記錄一下。
This may be due to a problem in the bridging file between Swift and Objective-C, e.g the file {projectName}-Bridging-Header.h . To make sure about that:
1- add a breakpoint at the place you want to debug.
2- After the breakpoint is reached, write the lldb command po on any object in the xCode debugging output window. for example :
po self.view
If there is a problem you should see it's log and hopefully you can go and fix it