Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable extra information from the Xcode 8 console for iOS 10 [duplicate]

Tags:

xcode

xcode8

Ive just updated to the new Xcode 8, but when i run my application it give lots of console information "only when i plug an iOS +10 device or iPhone 7 simulator" but does not show the desired log because of the new information that the logs shows such as:

nw_endpoint_handler_cancel
nw_resolver_cancel_on_queue
tcp_connection_cancel
sa_dst_compare_internal

How to disable those things?

like image 659
Mutawe Avatar asked Sep 20 '16 04:09

Mutawe


1 Answers

This question is answered here

Just set an environment variable OS_ACTIVITY_MODE = disable in your debug scheme. For reference see the image below

enter image description here

like image 192
Asad Ali Avatar answered Sep 28 '22 07:09

Asad Ali