iOS 10: “[App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction”

前端 未结 6 1528
生来不讨喜
生来不讨喜 2020-11-28 00:41

I sometimes get this message in the logs of Xcode 8b3 when running my app, everything seems to work, but I\'d like to know where this comes from. Google did not help at all.

6条回答
  •  [愿得一人]
    2020-11-28 01:01

    We can mute it in this way (device and simulator need different values):

    Add the Name OS_ACTIVITY_MODE and the Value ${DEBUG_ACTIVITY_MODE} and check it (in Product -> Scheme -> Edit Scheme -> Run -> Arguments -> Environment).

    Add User-Defined Setting DEBUG_ACTIVITY_MODE, then add Any iOS Simulator SDK for Debug and set it's value to disable (in Project -> Build settings -> + -> User-Defined Setting)

提交回复
热议问题