Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 15 locking up my app from running: 1 log/signpost messages lost due to high rates in live mode recording?

Tags:

xcode15

xcode

ios

This just started today in Xcode 15. I haven't added any new logs or print statements but when I build and run on my iPhone 14 Pro, I tap on a view in my app, the console is printing:

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.

tons of times. When I build and run the exact same code on my iPhone 13 mini, it doesn't do it?

like image 917
GarySabo Avatar asked Dec 21 '25 19:12

GarySabo


1 Answers

I had the same thing, but only when I ran my app on a physical device. I couldn't debug anymore because my debug area in XCode kept on showing these messages.

So I did what the log message said and added the environment variable IDELogRedirectionPolicy with value oslogToStdio to the environment of the executable. Now I don't see these messages anymore in my debug area.

like image 138
Roger Avatar answered Dec 24 '25 09:12

Roger



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!