iOS Build a Simple iPhone App with Swift View Controllers and Views Creating IBOutlets

Angus Schaefer
Angus Schaefer
Pro Student 2,035 Points

not executable error

I'm getting this error with my code for this challenge....

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

class ViewController: UIViewController {
  @IBOutlet weak var textLabel: UILabel!
  override func viewDidLoad() {
      // Do any additional setup after loading the view, typically from a nib.

  override func didReceiveMemoryWarning() {
      // Dispose of any resources that can be recreated.

1 Answer

David Gourley
David Gourley
3,818 Points

It is an issue with the server, just skip your code challenges for now, and when treehouse have it resolved go back to them.