ios 出現log不打印 was compiled with optimization - stepping may behave oddly; variables may not be availa

Xcode 控制檯無法po命令失效 log不打印,並提示was compiled with optimization - stepping may behave oddly; variables may not be available. 請注意你的target的優化等級 應該選第一個None[-o0] 如下圖:
相關文章
相關標籤/搜索