LLDB: Couldn't IRGen expression

前端 未结 8 1043
清歌不尽
清歌不尽 2021-02-01 01:16

When I\'m running a unit test and want to debug something, I set a breakpoint and type for instance \"po myVariable\". The response I get from LLDB is:

error: Co         


        
相关标签:
8条回答
  • 2021-02-01 01:54

    I was having the same issue using Carthage frameworks, and got the LLDB debugger working again by deleting the Carthage folder in the project root and forcing Carthage to rebuild the frameworks from source:

    carthage update --platform iOS --no-use-binaries
    
    0 讨论(0)
  • 2021-02-01 02:01

    you can try with netx command: Depend where you have install swift, in my case is in /opt/swift/

    sudo chmod 644 /opt/swift-3.1.1/usr/lib/swift/CoreFoundation/*
    
    0 讨论(0)
提交回复
热议问题