TechNote 3 – Core Data SQL

If you ever want to see the actual SQL that Core Data issues while running your app, then in Xcode:
open the info window (Cmd I) on your apps executable (Executables in the Groups & Files pane).
Add the following to the Arguments tab

-com.apple.CoreData.SQLDebug 1


Leave a Reply

You must be logged in to post a comment.