Swift Xcode

Logging Error: Failed to initialize logging system.

Xcode Version: 15.4

Error Message

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. Xcode > Product > Scheme
  2. Run > Arguments > Environment Variables > +
  3. Name: IDEPreferLogStreaming
    Value: YES
  4. Close

-Swift, Xcode