Xcode - how to see build command and log?

starlocke picture starlocke · May 5, 2015 · Viewed 49.6k times · Source

I have build errors in my Xcode project (Objective-C), and I no longer "stumble upon" the build command string nor the build output logs. This is Xcode 6.3.1.

All I can inspect is a left-side panel listing errors/warnings.

I want the build command and build console output to compare between two projects; there's a platform-specific issue present in one but not the other; my intuition says that the build settings are different between the two and that seeing the output would be the easiest way to identify the diff.

How do I get to see the build command string, and, the build output logs in this xcode?

Answer

Mark Szymczyk picture Mark Szymczyk · May 6, 2015

Use the Report Navigator. On the left side of the project window, you should see a series of small buttons at the top. Click the rightmost button to switch to the Report Navigator. Or you can choose View > Navigators > Show Report Navigator.

The Report Navigator shows a list of recent builds. Select one to see the details of the build in the center of the project window. To see more detailed information on a specific step in the build, select it. You will see a small button on the right with a series of horizontal lines.

enter image description here

Click that button to see the log for that build step.

enter image description here

Note for Commenters

I see comments on this answer that the answer is insufficient to see the build commands. If this answer is insufficient, ask a new question. State clearly what you are trying to see. Reference this question and answer in your question and explain why the answer does not solve your issue. This answer is the only way I know to see the low-level commands Xcode uses to build your projects.