Xcode - how to see build command and log?

XcodeLoggingBuildXcode6Output

Xcode Problem Overview


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?

Xcode Solutions


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

The report navigator shows a list of recent builds. Select one to see the details of the build in the editor area, which is in the center of the workspace window.

At the top of the editor area, make sure "All" and "All Messages" are both selected. Then click the "Export…" button at the top-right of the editor area to export a text file containing all the messages and build commands.

If you just want to see the messages and build commands for a specific build step, then select that step and click the small button on the right with a series of horizontal lines.

Xcode show build commands

The picture below is from the original answer.

Xcode show build commands

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionstarlockeView Question on Stackoverflow
Solution 1 - XcodeSwift Dev JournalView Answer on Stackoverflow