If you have Xcode 8, then the solution will be lower ...
Go β Product β Schema β Change Scheme β Run β Arguments β Environment Variables
In environment variables: Perhaps you once added the name "OS_ACTIVITY_MODE" and the value "disable" and check it. But this method can lead to the fact that the console will not be able to NSLog when actually debugging the iPhone.
I solve it as follows: add only "OS_ACTIVITY_MODE" and check it (do not add value)
You can also see the image below.

For Xcode 7 you have no solution.
Alternative for this problem: I canβt see the NSLog output in the real iOS 10 device. If you are using real devices, you can open the Devices window from Xcode (Shift + Command + 2) and see the device logs there, but itβs difficult to view the application logs , because the console displays logs from the system and all applications.
NOTE. If you check out the release notes for Xcode 8 , you'll find it says: When debugging an application running on Simulator, the logs may not appear in the console. Workaround: Use the + / command in Simulator.app to open the system log in the console application to view NSLogs. (26457535)
iMHitesh
source share