美文网首页
xx was compiled with optimizatio

xx was compiled with optimizatio

作者: Mr_wick | 来源:发表于2021-06-07 15:20 被阅读0次

    今天在编译objc4源码的时候,创建target,在main.m中打上断点后运行,发现源码内断点不能停下,控制台出现如下提示:
    QLTest6 was compiled with optimization - stepping may behave oddly; variables may not be available.
    Google了很多内容,基本上都是设置Optimization Level

    image.png
    然后将schemeRun设置成Debug

    但是都不奏效!!

    解决办法,将enable hardened runtime -> NO

    image.png

    相关文章

      网友评论

          本文标题:xx was compiled with optimizatio

          本文链接:https://www.haomeiwen.com/subject/qtvleltx.html