Free beta. ExpertKin is new and still changing, and paying isn't open yet. Send feedback

ExpertKin
Build Apps: Read Xcode Errors Without Panic

Free preview lesson

Meet the Three Kinds of Xcode Messages

Spot the red error and what it means

Why this matters: Xcode is the app Apple provides for building iPhone and Mac apps. When it shows a red error, it is telling you it cannot build or run your code as written. Until you fix it, nothing will work, so red errors are your first priority.

A red error appears in two main places. The first is the Issue navigator, the warning triangle icon in the left sidebar. Click it and every problem in your project is listed. The second is the editor itself, where a small red circle with a white cross sits in the gutter, the narrow column to the left of your code. The line with the problem is often highlighted too.

How to read a red error:

  1. Open the Issue navigator and look for items with a red circle icon.
  2. Click the error to jump to the exact line in the editor.
  3. Read the sentence describing the problem. It usually names the thing that is wrong.
  4. Fix it, then check whether the red circle disappears.

A red error is not a judgement about you. It is simply Xcode saying something cannot be understood yet. Treat each one as a clear task with a specific location.

What to do now: open any Xcode project you have, or create a small practice one, and find the Issue navigator. Look at whether any red errors are listed, and click one to see where it points.