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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Abe Abe](https://secure.gravatar.com/avatar/84a69ca3e92b7c769e42bb5f14da7260?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Abe Abe
Courses Plus Student 46 PointsHi I need help
I need help what I’m doing wrong
// Enter your code below
var str = "Swift"
5 Answers
![Brendan Whiting](https://uploads.teamtreehouse.com/production/profile-photos/2109002/micro_picture.jpg)
Brendan Whiting
Front End Web Development Techdegree Graduate 84,736 PointsI pasted your code into the challenge and got this error message: "Make sure your variable is named language!" and that's exactly that the problem is, you've called the variable str
instead of language
.
![Abe Abe](https://secure.gravatar.com/avatar/84a69ca3e92b7c769e42bb5f14da7260?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Abe Abe
Courses Plus Student 46 PointsI still don’t get it
![Brendan Whiting](https://uploads.teamtreehouse.com/production/profile-photos/2109002/micro_picture.jpg)
Brendan Whiting
Front End Web Development Techdegree Graduate 84,736 Pointsvar language = "Swift"
as opposed to
var str = "Swift"
Your code is just fine as Swift code but it doesn't follow the instructions of the challenge.
![Abe Abe](https://secure.gravatar.com/avatar/84a69ca3e92b7c769e42bb5f14da7260?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Abe Abe
Courses Plus Student 46 PointsNo I already pass the challenge, now I’m in the second one and in my computer Xcode I trying to put the code and in the right side the answer doesn’t appears
![Logan Irons](https://secure.gravatar.com/avatar/066aa4d59efcdb8f35f47ad7caeacb14?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Logan Irons
1,535 PointsIt happens from time to time... Quit Xcode and give 'er another shot.
![jenko](https://uploads.teamtreehouse.com/production/profile-photos/7828532/micro_coffee.jpg)
jenko
8,562 PointsHi Ronald,
In X Code 10 the code no longer automatically "evaluates" thus providing the results in the right-hand side. It's quite annoying.
Try pressing Shift + Enter or if you see a blue Play icon in the gutter on the left side, click that to see the results.
Unfortunately, the iOS course material has not yet been updated to reflect this change.
Best of luck!