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 Objective-C Basics (Retired) Fundamentals of C Variables

Vanessa Martinez
Vanessa Martinez
445 Points

No exit code is displayed on Xcode

I am running Xcode 6.3.2. When I run the code, the statements are printed, but the exit code is not shown. I can't figure out how to modify my settings to get that to be displayed upon completion. How do I set it up?

2 Answers

Rashii Henry
Rashii Henry
16,433 Points

Hey Vanessa,

Could you be a bit more specific on: The exit code is not being shown?

Vanessa Martinez
Vanessa Martinez
445 Points

After he runs the code in the video, the printf statements are printed in the lower right window. After the printed statements there is a sentence that says: "Program ended with exit code: 0." This does not appear in my Xcode when I run the code in the video. I'm just wondering if there is a way to set up Xcode so that it shows that as it does in the video.

Hi Vanessa! I'm running into this same issue...did you ever find an answer?

Vanessa Martinez
Vanessa Martinez
445 Points

Hi Shannon,

Unfortunately, I didn't find an answer. There must be a setting somewhere to make it show up. I'll try looking into it again. Please let me know if you find the answer. :)