()
| 27 | } |
| 28 | |
| 29 | async function checkXcode() { |
| 30 | if (!(await isInstalled('xcodebuild'))) { |
| 31 | return `Xcode is not installed`; |
| 32 | } |
| 33 | // const matches = output.match(/^Xcode (.*)/); |
| 34 | // if (matches && matches.length === 2) { |
| 35 | // const minVersion = '9.0.0'; |
| 36 | // const semver = await import('semver'); |
| 37 | // console.log(matches[1]); |
| 38 | // if (semver.gt(minVersion, matches[1])) { |
| 39 | // return `Xcode version is too old, ${minVersion} is required`; |
| 40 | // } |
| 41 | // } |
| 42 | return null; |
| 43 | } |
nothing calls this directly
no test coverage detected