iosxcodexcode15

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


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?


Solution

  • 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.