I\'m sure this is simple, but how do I determine which version of the iOS SDK I currently have installed?
The simplest why I found is to run this command line:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
OR, if you have multiple XCode versions:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
fastlane isn't able to successfully execute that command so it sounds like that you don't have an Xcode version selected for xcodebuild
to run things with. Running the xcode-select
command above should do the trick for you ;)
Source: https://github.com/fastlane/fastlane/issues/12784