• 更新Xcode 8后运行时,在打印台会输出一堆东西(Xcode 8日志输出问题)


    使用 Xcode 8 运行工程的时候,在打印台会发现如下这些奇怪的日志输出:

    2016-09-19 10:43:44.001757 Demo[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: 0

    2016-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, privacy_setting: 0, enable_private_data: 0
    2016-09-19 10:43:44.084921 Demo[7100:171568] 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: 0
    2016-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
    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

    更新Xcode <wbr>8后运行时,在打印台会输出一堆东西(Xcode <wbr>8日志输出问题)



    解决方法:
    Xcode8里边 Edit Scheme... -> Run -> Arguments, 在Environment Variables里边添加 OS_ACTIVITY_MODE = disable

    更新Xcode <wbr>8后运行时,在打印台会输出一堆东西(Xcode <wbr>8日志输出问题)

    更新Xcode <wbr>8后运行时,在打印台会输出一堆东西(Xcode <wbr>8日志输出问题)

    更新Xcode <wbr>8后运行时,在打印台会输出一堆东西(Xcode <wbr>8日志输出问题)

    更新Xcode <wbr>8后运行时,在打印台会输出一堆东西(Xcode <wbr>8日志输出问题)


    最后点击 Close 完成!



  • 相关阅读:
    eclipse快捷键
    NetBeans无法使用svn相关功能
    sqlplus执行startup出现ORA-00119,ORA-00132错误
    Oracle中对number类型数据to_char()出现各位少0,或者值为###的处理
    服务器启动报mybatis配置错误
    Java Thread interrupt
    nginx backend 健康检查
    SSH 安全建议
    ARP
    Postgresql 锁查看
  • 原文地址:https://www.cnblogs.com/huangzs/p/11690666.html
Copyright © 2020-2023  润新知