Error:
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.
Answer:
Edit Scheme... -> Run -> Arguments -> Environment Variables
添加 Name 为 IDEPreferLogStreaming Value为YES