When using Xcode 8 to run the project, you will find the following strange log output on the print station:
2016-09-19 10:43:44.001757 Demo[
< code>7100:171568
] subsystem: com.apple.UIKit, category : HIDEventFiltered, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0
2016-09-19 10:43:44.024521 Demo[7100:171568
] subsystem: com.apple.UIKit, category: HIDEventIncoming, enable_level: 0 , persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 02016 -09-19 10:43:44.051333 Demo[
7100:171568
] subsystem: com.apple.BaseBoard, category: MachPort, enable_level: 1, persist_level: 0, default_ttl : 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, priva cy_setting: 0, enable_private_data: 02016-09-19 10:43:44.084921 Demo[
7100:171568< /code>] subsystem: com.apple.UIKit, category: StatusBar, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0
2016-09-19 10:43:44.132757 Demo[
7100:171568
] subsystem: com.apple.BackBoardServices.fence, category: App, enable_level: 1, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0, enable_private_data: 02016-09-19 10:43:47.127087 Demo[
7100:171568
] subsystem: com.apple.UIKit, category: Touch, enable_level: 0, persist_level: 0, default_ttl: 1, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0 span >2016-09-19 10:43:47.128826 Demo[7100:171568] subsystem: com.apple.UIKit, category: Gesture, enable_level: 0, persist_level: 0, default_ttl: 1, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0
Solution:
Edit Scheme in Xcode8. .. -> Run -> Arguments, add OS_ACTIVITY_MODE in Environment Variables = disable
Finally click Close to finish!