Quick tip: How to instantly see the error of your XCode ways

I’ve come across a handy little tweak  in XCode that allows you to instantly be aware of the newest error that caused a build failure in your code. The end result is that XCode automatically navigates to whatever line of code is causing the error, which is probably the next thing you would look for anyway. Here’s all you have to do:

QuckTip1

Step 1 Open XCode -> Preferences

Step 2 Navigate to the “Behaviors” tab

Step 3 On the left panel, under “Build”, select the “Fails” section

Step 4 Tick the “Navigate to” checkbox and select “first new issue”

Now next time you build your project and something is wrong, you’ll be taken there immediately to fill in your missing square bracket. Hope this saves you some time 🙂

Advertisements

Posted on December 8, 2012, in Quick tips. Bookmark the permalink. Leave a comment.

Say something...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: