Xcode 8 Printing log log summary of problems and solutions
- 2020-12-18 01:55:30
- OfStack
When we first started running Xcode 8.0, we were probably a little impatient with the printed logs and how we could print so many.
So let's look at how to disable it,
Follow the steps to open Product > Scheme > Edit Scheme
Choose Run > Argumens > Environment Variables ; Add OS_ACTIVITY_MODE. See figure below
So you don't have those annoying log logs. But... The iOS10 machine will not be able to print the log log in the future. The solution is to override the log log:
An timeString method is added to NSString, declared in class NSString+ ES33en.h.
NSString + CurrentTime. m in implementation
Here is the solution to the tedious log log, and in iOS10 real machine cannot print the problem. If you have any questions please leave a message to me, this site will respond to you in a timely manner. Thank you very much for your support!