Why does CoreData Debug logging not work on my Mac app?
I can't get Core Data debug logging working.
I've gone into the arguments tab of my executable in Xcode and added:
-com.apple.CoreData.SQLDebug 1
as per the documentation and this question. And yes, I am on the Mac not on the iPhone.
What I've Tried
- Different compilers (LLVM 1.5 and GCC 4.2)
- Have all debug symbols included 开发者_Python百科
- Building i386 instead of x84_64 architectures
Download
My Xcode project: http://dl.dropbox.com/u/136780/TransientDurationUpdateTest1.zip
Another project I have shows the SQL debug logs fine. What on earth am I missing here?
Well, it doesn't help that I set the store type to XML. What a numpty. As soon as I changed it back to SQLite all logging resumed perfectly.
精彩评论