iOS Logging Error: Failed to ini

2024-05-07  本文已影响0人  Amuxiaomu

编译时报错:Logging Error: Failed to initialize logging system. Log messages may be missing. If this issue persists, try setting IDEPreferLogStreaming=YES in the active scheme actions environment variables.

1.选择Edit Scheme..

2.选择Run

3.在Run中选择Arguments

4.在ENvironment Variables 中添加:

Name:IDEPreferLogStreaming Value为YES

image.png

参考:https://medium.com/@abdusamad2609/logging-error-failed-to-initialize-logging-system-7948dfa77dec

上一篇 下一篇

猜你喜欢

热点阅读