控制台打印的信息如下
2016-10-15 10:13:17.774543 LGLSearch-Dome[1656:356106] 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-10-15 10:13:17.777413 LGLSearch-Dome[1656:356106] 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: 0
解決辦法:
Xcode8裡邊 Edit Scheme... -> Run -> Arguments, 在Environment Variables裡邊添加 OS_ACTIVITY_MODE = disable
步驟1.
步驟2.
步驟3.
結束設置