NSLog operators not showing up for iOS 10 in Apple Configurator

I have an application built using Xcode 7.3 and it works fine with iOS 10.
But the NSLog () instructions that I used to debug earlier are not displayed.
I saw them before inside the apple configurator, and now all I see is so many messages about kernel processes.
The same thing works when I test an iOS 9.x device.
Please update if this is allowed or is there any workaround.

0
ios nslog apple-configurator
source share
1 answer

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.

enter image description here

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)

+2
source share

All Articles