skip to Main Content

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?

2

Answers


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

    Login or Signup to reply.
  2. To set the environment variable as the log output suggests, go to ‘Edit Scheme…’, on the left column ‘Run Debug’ should be highlighted, select the ‘Arguments’ tab, under the ‘Environment Variables’ click the the plus (+) sign, under name fill in IDELogRedirectionPolicy, under value fill in oslogToStdio

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search