How to print Core Data debug values?

后端 未结 2 494
迷失自我
迷失自我 2020-12-02 23:36

How can I print the values being sent to the sqlite database while using Core Data SQL Debug?

Using the \"-com.apple.CoreData.SQLDebug 1\" in my \"

2条回答
  •  不思量自难忘°
    2020-12-03 00:11

    If you are using Xcode 8, you will need to also need to add additional argument

    -com.apple.CoreData.Logging.stderr 1
    

提交回复
热议问题