Closed radex closed 7 years ago
Will it be clear to people what “have a [OS] simulator installed” means and the steps they need to take? Can this be phrased differently to include the steps they need to perform?
@alloy Good point. What do you think about this?
Invalid OS
tvos
, valid values are ios, watchos. Go to Xcode and open Window -> Devices to make sure you have at least onetvos
simulator set up. You can create a new simulator by pressing '+' in the bottom left corner of this window.
Maybe this could be enough?
Ensure that Xcode -> Window -> Devices has at least one tvos simulator listed or otherwise add one.
Ah! I like when errors first say what went wrong, then suggest a solution:
Could not find a
tvos
simulator (valid values: ios, watchos). Ensure that Xcode -> Window -> Devices has at least onetvos
simulator listed or otherwise add one.
Is that cool?
Yup, totally 👍 Sorry, I didn’t mean to remove that first part, that part was just a given imo.
@segiddins I’m unfamiliar with the CI status of this. Is the build failing because of CI specific reasons?
I have no clue, maybe @neonichu would know?
Looks to me as if the Travis env changed since the last build, I'll make a PR to the fix the build.
↑ Updated the branch, passes CI now
Awesome 👍 Thanks, @radex!
This vague error message caused me a lot of pain in CocoaPods/CocoaPods#5878. I thought it was an
xcodebuild
error, while in fact it was a very simple thing to fix. This should spare future generations from this failure mode.