Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I clear all entries in the Log Navigator in Xcode4?

Tags:

Over time there are many past log entries (for either build or debug sessions) accumulated in the Log Navigator. How can I remove these entries?

like image 461
Anthony Kong Avatar asked Sep 07 '10 15:09

Anthony Kong


People also ask

How do I clear errors in Xcode?

To do this, open the Organizer window (Cmd-Shift-2) and select the Projects tab. Select your problem project and click the Delete button next to its Derived Data folder.

How do I see build logs in Xcode?

Use the Xcode report navigator. To show the report navigator, either (1) click the rightmost button in the navigator bar at the top of the navigator area, which is on the left side of the workspace window, (2) select View > Navigators > Reports from the menu bar at the top of the screen, or (3) press ⌘ 9 .


1 Answers

Turns out this is what you have to do:

  1. Go to Organiser
  2. Go to Project tab
  3. Select your project
  4. Select the Delete button on the right hand side where it says "Derived Data includes Index, build output and logs"
  5. Close the project or workspace.
  6. Re-open the project or workspace.

Note that the comments are correct. This approach does delete the index, and build output in addition to the logs. It does warn that "The first indexing and rebuild of a project after that may be slower".

like image 85
Anthony Kong Avatar answered Sep 23 '22 15:09

Anthony Kong