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 Swift Types String Manipulation

Ali Zaheer
Ali Zaheer
919 Points

Bug in Quiz?

I did everything right, I put my code in Xcode playground and it works, but the site keeps saying my code is wrong. I went to preview and this it what it says.

This is the error it gives me in preview: Executable requires at least macOS 10.12, but is being run on macOS 10.11.6, and so is exiting.xcrun: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly! xcrun: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch sh: line 1: xcrun:: command not found

I'm on macOS High Sierra.

strings.swift
// Enter your code below
let name = "Linda"
let greeting = "Hi there, \(name) ."

3 Answers

Stuart Wright
Stuart Wright
41,119 Points

There seems to be a bug with all Swift challenges at the moment. The same thing happened last week and they fixed it not long after.

Timothy Stahll
Timothy Stahll
2,159 Points

I'm having the same issue, very annoying when you're paying for a service and it doesn't work.