Logging Error: Failed to initialize logging system. Log messages may be missing.

330 阅读1分钟

编译时报错: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

参考:medium.com/@abdusamad2…