解决一下两个问题:
1>Objective_C项目输出:subsystem: com.apple.UIKit, category: HIDEventFiltered, enable_level: 0"
2>Swift项目输出:[App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction
期盼许久的Xcode8正式版终于可以下载了,下载完立马创建的了一个工程demo,不料运行后控制台输出如下信息:
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
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
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, privacy_setting: 0, enable_private_data: 0
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
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: 0
Goog了一番,找到了以下的解决办法:
Product–>Scheme–>Edict Scheme
![subsystem: com.apple.UIKit, category: HIDEventFiltered, enable_level: 0](http://img.e-com-net.com/image/info8/eda965318b8345048ebdca8dc9410b08.jpg)
然后显示如下:
![subsystem: com.apple.UIKit, category: HIDEventFiltered, enable_level: 0](http://img.e-com-net.com/image/info8/88a795e3fbb54360a993b8b4ed2d01f0.jpg)
如果没有OS_ACTIVITY_MODE字段,添加该字段,如果该字段存在,就设置Value值为disable,并且打钩,最后Close即可.