Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Xcode 7.2 Playground not Displaying Output

I just installed Xcode 7.2 from the mac app store and started a new playground. For whatever reason, Xcode isn't displaying any output, even before I change any code. I have no idea what could be causing this... I've done some Googling and the results never got to a definitive answer that worked. Any Ideas?

Fresh install of Xcode 7.2 from App Store OS X 10.11.2 Early 2015 13-inch Retina MacBook Pro

1 Answer

Arman Arutyunov
Arman Arutyunov
21,900 Points

Hey Nick!

Do you have any errors? The compiler is not able to display any output either if you have errors or your code is not complete. Could you share your code here to describe the situation more specifically?

Just in case, you can share your code using backticks. It's perfectly described in "Markdown Cheatsheet" below the text area: "Wrap your code with 3 backticks (```) on the line before and after. If you specify the language after the first set of backticks, that'll help us with syntax highlighting."

var thisWouldPerfectlyWorkInXcodePlaygroundCompiler = "Yo Nick :)"

And that's what I've exactly typed (but without quote marks):


var thisWouldPerfectlyWorkInXcodePlaygroundCompiler = "Yo Nick :)"