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 trialPhilip Buonforte
1,536 PointsWhen I open the debug area, it is blank after executing the following code: for number in 1...10 {print("\(number)}
When I open the debug area, it is blank after executing the following code: for number in 1...10 {print("(number)}
Also, I do not have the option to "add a new playground page".
I checked in the app store to see if there was an update for Xcode. There is not. I am running version 6.2
Thanks
2 Answers
Marina Alenskaja
9,320 PointsHi!
The newest Xcode is 7.1. as far as I know - so you might have to look for an update again if you didn't already :-)
ferdiepetalio
Front End Web Development Techdegree Student 7,532 Pointsthis should be the latest version for xcode. see image > http://postimg.org/image/9v6ssw59x/
ferdiepetalio
Front End Web Development Techdegree Student 7,532 Pointsferdiepetalio
Front End Web Development Techdegree Student 7,532 PointsI am using Xcode 7.2.1 (7C1002) I got the same error too. Xcode does not seem to like this codes
//Range Operators
for number in 1...10 { print("(number) times 5 is equal to (number * 5)") }
result: 1 times 5 is equal to (number * 5) 2 times 5 is equal to (number * 5) 3 times 5 is equal to (number * 5) 4 times 5 is equal to (number * 5) 5 times 5 is equal to (number * 5) 6 times 5 is equal to (number * 5) 7 times 5 is equal to (number * 5) 8 times 5 is equal to (number * 5) 9 times 5 is equal to (number * 5) 10 times 5 is equal to (number * 5)
this is wrong.