
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.
·
iOS
가끔 프로젝트를 실행하면 로그창에 이런 오류가 발생한다. 로그 시스템을 초기화하지 못했다고 한다.해결해보자. 먼저, Xcode를 실행한 상태로 Product -> Scheme -> Edit Scheme...으로 이동한다. Run -> Arguments 탭으로 가서 Arguments Passed On Launch에 아래 항목을 추가한다.IDEPreferLogStreaming=YES 이렇게 하면 문제가 해결된다.