Debugging Core Data In Xcode 8.1 Not Working?
I was working on a new project this weekend and I came across an issue using Xcode 8.1 that I’d not seen in 8.0 – The debug info from Core Data wasn’t being pushed to the console in Xcode.
Now if you’ve not worked with Core Data before, or never had to look hard under the hood at what it’s doing when to add items to it you may never have come across -com.apple.CoreData.SQLDebug before. This is a runtime argument that is passed in to your app at launch that (depending on the logging level – 1 through 3) spews out in-depth info on what is being inserted etc in to your Core Data store. Continue Reading