I'm trying to debug an application I'm writing. For this specific application, I can't test it while it's connected to the computer. And, in my application, I have all the data I'm trying to check being printed out to the console.
In trying to figure out where to access that data, I learned that the "print()" data doesn't get stored anywhere, it just prints to the console, which only works if the device is attached. (is this correct?)
Now, I read that I need to be using "NSLog" to have the device logs being stored. I have a test NSLog NSLog("TEST")
set up in one of my viewdidload() functions and it prints successfully in the console, when my device is connected to the computer.
However, when I go to devices->myiphone->console, the console is being COMPLETELY flooded with random system information. It's literally printing 100 new messages a second. SO I can't use that to check for the logs.
I just updated to the newest version of Xcode, the 8.1 gm.
I'm really struggling with this. All I want to do, is be able to build my application on my phone, use the application on my phone until the problem arises, as it is something I can't keep attached to the computer, and then plug my phone back into my computer and check to see what the application has printed to the console, or logged, whatever, so I can see what is going wrong. How can I do this?
Sorry for the rambling, and thanks so much