If you care about the build number (like "10B61"), especially during betas, the best place to check which version of Xcode and related SDKs you have installed is to use "System Information".
Apple Menu > About This Mac > System Report > Software > Developer
Once there, you'll see version and build numbers for all of the major components of the Developer Tools. The top level version and build number corresponds to the name of the disk image you downloaded from Apple.
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 ;)
xcode-select --print-path #print your current path Probably this path
/Library/Developer/CommandLineTools
sudo xcode-select --reset #reset to the default command line tools path
xcode-select --print-path# the default should this path
/Applications/Xcode.app/Contents/Developer
xcrun -sdk iphonesimulator --show-sdk-path #the path: /usr/bin/xcrun
#should to print the num of iPhoneSimulator:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator{num}.sdk