iOS Functions in Swift Functions in Swift Recap: Functions

Code does not run?

I get this error message with the code:

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

functions.swift
// Enter your code below
func temperatureInFahrenheit(temperature: Double) -> Double {
  return temperature
}

1 Answer

Stuart Wright
Stuart Wright
41,071 Points

All Swift challenges on Treehouse seem to be broken at the moment. There is nothing wrong with your code.