iphone - How do I get the CoreData Debug argument to output to the console? -
Accordingly, it sends SQL original data to SQLit, which should be able to pass an argument for the application.
I went to my executable logic tab in XCode and the argument specifies:
-com.apple.CoreData.SQLDebug 1 However, I do not see any SQL in the console. Then I tried to use this parameter in Apple's CoreDataBooks application, if there was any other problem in my program
Even in Apple's example, I do not get the SQL output in the console .
Am I doing something wrong? Is Apple's documentation wrong? Should I look at the place other than the console? Has anyone else got success with this argument?
Update: Apple has fixed the output bug with the new release of Xcode; However, to be clear on the final solution:
Arguments are two different arguments and they should be entered in the Logic tab. -com.apple.CoreData.SQLDebug is a parameter and 1 value is the second parameter.
XCode 4 (last) seems incompatible
on device Using a logic, but the simulator fails:
-com.apple.CoreData.SQLDebug 1
Two arguments are used on the device and The simulator comes in:
-com.apple.CoreData.SQLDebug
1