forked from 10p-freddo/fruitstrap
-
Notifications
You must be signed in to change notification settings - Fork 468
Closed
Description
The version check in check_reqs.js uses string comparison rather than something like semver, which causes newer versions of xcode to be considered out of date.
With xcode 10.1 or 10.2 the following check fails:
ios-deploy/src/scripts/check_reqs.js
Line 31 in 3a1c562
if (os.release() >= '15.0.0' && ver < XCODEBUILD_MIN_VERSION) { |
'10.1' < '7.0'
$ node
> let a = '10.1'
undefined
> let b = '7.0'
undefined
> a < b
true
The version check should compare the version properly by comparing the major version first, then the minor version if necessary.
Metadata
Metadata
Assignees
Labels
No labels