아요 개발 일기

[Error] 1 log/signpost messages lost due to high rates in live mode recording. To guarantee delivery of all logs, set IDELogRedirectionPolicy to oslogToStdio in the environment of the executable. 본문

Xcode

[Error] 1 log/signpost messages lost due to high rates in live mode recording. To guarantee delivery of all logs, set IDELogRedirectionPolicy to oslogToStdio in the environment of the executable.

소진이 2024. 1. 4. 17:14

 

안녕하세용 :)

이번에 Ble태그 Background Scan 기능을 추가하면서

디버깅을 많이 활용하고 있는데, 해당 오류가  계속 뜨더라구요..

 

1 log/signpost messages lost due to high rates in live mode recording. To guarantee delivery of all logs, set IDELogRedirectionPolicy to oslogToStdio in the environment of the executable.

 

해석해보면,

라이브 모드 레코딩에서 높은 비율로 인해 log/signpost 메시지 1개가 손실되었습니다.
모든 로그의 전달을 보장하기 위해 실행 파일의 환경에서 IDELogRedirectionPolicy를 oslogToStdio로 설정합니다.

 

 

라는데 뭘 어디에 설정하라는건지 모르겠어서

구글링을 해보고 잘 해결되어 가지고 왔습니다!!!

 


Product -> Scheme

 

 

Scheme -> Edit Scheme

 

 

Run -> Arguments -> +

 

 

Environment Variables

Name: IDELogRedirectionPolicy

Value: oslogToStdio

로 설정하고 저장해주면 끝!!

 

 

참고 사이트

: https://stackoverflow.com/questions/77230876/xcode-15-locking-up-my-app-from-running-1-log-signpost-messages-lost-due-to-hig