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 Swift Basics (retired) Types Printing Results

In Xcode, when I press show assistant editor, nothing appears on that side of the screen. Please help.

I'm running the Xcode 7 beta. Do you think I should downgrade?

3 Answers

Caleb Kleveter
MOD
Caleb Kleveter
Treehouse Moderator 37,862 Points

That might be your issue. How are you opening it? I found that if you don't open it the way Amit does it wont show anything for me.

Hey Ryan,

With the Xcode 7 Beta the console output has moved to the debug area instead of the assistant editor src = https://forums.developer.apple.com/thread/4621

To show this area, click on the small arrow in the bottom left of the window or use the shortcut cmd + shift + y

Using this code from the video I got this result

Aug 16 12:52:34 MyPlayground[2675] <Error>: CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable. Aug 16 12:52:34 MyPlayground[2675] <Error>: CGContextTranslateCTM: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable. Aug 16 12:52:34 MyPlayground[2675] <Error>: CGContextRestoreGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable. To build an iPhone app we need to learn Swift

You can see it is working however you might wish to switch to the xcode on the app store (although its download seems to be broken for me)

Raphael Reiter
Raphael Reiter
6,820 Points

I have the xCode from the app store, it's xCode 7 and i am having the same proble. also, i am not able to see the console output

Re-installing worked for me