Xcode debugger sometimes doesn't display variable values?

后端 未结 19 2239
醉话见心
醉话见心 2020-12-14 13:54

This happens to me pretty often. For example, right now I have the debugger stopped at a breakpoint in a method . . . and it isn\'t displaying any variable values at all.

19条回答
  •  被撕碎了的回忆
    2020-12-14 14:27

    For Swift mix OC Project which use pod

    Fixing it by removing useless header(that import with framework by pod) xx-Bridging-Header.h

    eg. In the past I import header with #import "GCDAsyncSocket.h" which I was added in podfile

    platform:ios, '8.0' use_frameworks! target "roocontrollerphone" do pod 'CocoaAsyncSocket' end

    just remove it in that xx-Bridging-Header.h file

提交回复
热议问题