Xcode doesn't write anything to output console

前端 未结 15 1257
执笔经年
执笔经年 2020-12-06 09:00

I am working on an iPhone/iPad app. All of a sudden output console stopped displaying ANY messages AT ALL. I tried to open older project - works just fine. So I thought that

相关标签:
15条回答
  • 2020-12-06 09:38

    In my case it was due to hitting resource limits. iTerm was unable to fork new processes.

    Quitting some apps or increasing resource limits may help.

    0 讨论(0)
  • 2020-12-06 09:42

    Please make sure, You are selecting All Output

    0 讨论(0)
  • 2020-12-06 09:43

    XCode 9, problem still exists. I did discover that when this starts to happen I don't show the debug area (middle button in pic). Then when I re-run the app, the debug area came back up with the console showing correctly.

    0 讨论(0)
  • 2020-12-06 09:43

    Using filter?

    A similar thing happened to me. In my case, I had by misstake entered a filter in the status bar of the debug area. Only rows that match the filter are displayed, and since my filter was rubbish nothing was displayed.

    0 讨论(0)
  • 2020-12-06 09:47

    I had OS_ACTIVITY_MODE checked to disabled. once i removed this the console was showing debug info again.

    0 讨论(0)
  • 2020-12-06 09:48

    This happened to me as well and it turned to be the following:

    • installed release build of my app OTA
    • installed over top of release build in XCode/debugger

    Only once I deleted the app from the iPhone's home screen and reinstalled again by running the app in the debugger did console output start working again.

    0 讨论(0)
提交回复
热议问题