Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

How come I don't see all the red errors that Amit talks about?It seems that the errors appear automatically. Plz Advise

How come I don't see all the red errors that Amit talks about?It seems that the errors appear automatically.

Is there some kind of a setting where I have to go to make the errors appear automatically in Xcode? Any advice would be appreciated! Thanks.

Could you add a link to the video just to make sure we're on the same page? If I had to guess what you're talking about, it's likely the Xcode errors that come up when you don't code something the compiler will "like" [if a compiler had feelings :) ].

To force the errors to appear on something that is incorrect, do the following:

In Xcode: With the app you're working on open, use the shortcut cmd+B to Build the project. Alternatively, you can attempt to run the program by pressing the "Play" looking button in the toolbar, near the red exit button.

The compiler will attempt to compile, and will highlight any errors that are present (this doesn't include the errors referred to as "Run-time Errors", because those occur while the app is running on the device)

Again, if this is all off-base and you were referring to something else, please post a link to the video and we'll clarify if we can.

Thanks Dan

-- Kyle

1 Answer

You can turn on the "show live issues" setting to have the errors and warnings show up in xcode.

More info here: https://developer.apple.com/library/mac/recipes/xcode_help-general_preferences/Recipe.html

I hope that helps.