Information Technology Reference
In-Depth Information
The Issue Navigator and the Log Navigator
The Issue Navigator, shown in Figure 4.11, lists fatal errors and warning messages after a build. Selecting an is-
sue shows it in the editor window, with an adjacent red highlight and description. An icon also appears in the
gutter to the left of the code editor. After a build, you can use this navigator to jump directly to problem code; if
there are issues, this navigator appears automatically, even when the navigator pane is closed before the build.
(This isn't always the behavior you want, but currently there's no way to disable it.)
Although this seems like a simple feature, there are hidden complexities. First, the gcc and llvm compilers pro-
duce different error messages. If you've used previous versions of Xcode, you're used to the quirks and limita-
tions of gcc. The llvm compiler option takes a different approach to error reporting, and you see unfamiliar er-
ror messages, sometimes in unfamiliar locations.
FIGURE 4.11
Clicking any warning or error in the build results list displays related code in the editor window.
Search WWH ::




Custom Search