Swift debugger does not show variable values when importing ObjC framework

后端 未结 6 1667
灰色年华
灰色年华 2020-12-02 20:11

When I create a new OS X \"Game\" project with Sprite Kit, and set a breakpoint anywhere I can see the variable values just fine:

6条回答
  •  情深已故
    2020-12-02 20:50

    I can confirm this is happening in Xcode Version 7.0 beta 4 (7A165t). I had to remove my ObjC framework to get Debugging values to return. If removing your framework isn't an option, the print method is old-school debugging, but still works.

提交回复
热议问题