编译时报错: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
网友评论