Xcode: How to set CA_DEBUG_TRANSACTIONS=1?

后端 未结 1 2101
孤街浪徒
孤街浪徒 2021-01-01 18:09

I\'m getting this warning in the log window of the debugger:

 CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTION         


        
相关标签:
1条回答
  • 2021-01-01 18:15

    Product -> Scheme -> Edit Scheme

    Select "Run" entry and then "Arguments" tab, and in "Environment Variables" add "CA_DEBUG_TRANSACTIONS" as Name and "1" as "Value".

    0 讨论(0)
提交回复
热议问题