About 30% of the time our builds cannot locate the simulator using xcodebuild. We are using xcode 9.3.0
xcodebuild -workspace ######.xcworkspace -scheme ##### -destination 'platform=iOS Simulator,name=iPhone 5s,OS=11.3'
We get this error.
xcodebuild: error: Unable to find a destination matching the provided destination specifier: { platform:iOS Simulator, OS:11.3, name:iPhone 5s }