refreshPreferences HangTracerEnabled / HangTracerDuration messages in iOS 11 + Xcode 9

后端 未结 3 1844
借酒劲吻你
借酒劲吻你 2020-12-29 05:53

When update to iOS 11, after run app in iPhone, I receive this message in Xcode console:

SibDiet[924:111682] refreshPreferences: HangTracerEnabled: 0
SibDiet         


        
3条回答
  •  执念已碎
    2020-12-29 06:35

    At this point, there are no data to suggest that you need to respond to this spewing of internal debugger status. BTW, these messages also appear when developing on physical devices, not just simulators.

    The prior answer of disabling the Xcode Environment Variable OS_ACTIVITY_MODE will stop all such internal system messages with the unfortunate side effect of turning off console logging from NSLog() calls in ObjC. I have not checked, but it may also disable Swift print() logging.

    The Xcode team should really discriminate between disabling system logging and user logging!

提交回复
热议问题