Added warning text to the check_reqs.js log when running under OS X 10.11 El Capitan
This commit is contained in:
parent
7b07c2e28d
commit
d688e29975
@ -36,6 +36,17 @@ xcode_version.on('close', function (code) {
|
|||||||
if (ver < XCODEBUILD_MIN_VERSION) {
|
if (ver < XCODEBUILD_MIN_VERSION) {
|
||||||
console.log(util.format('%s : %s. (you have version %s)', TOOL, XCODEBUILD_NOT_FOUND_MESSAGE, ver));
|
console.log(util.format('%s : %s. (you have version %s)', TOOL, XCODEBUILD_NOT_FOUND_MESSAGE, ver));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (os.release() >= '15.0.0') { // print the El Capitan warning
|
||||||
|
console.log('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');
|
||||||
|
console.log('!!!! WARNING: You are on OS X 10.11 El Capitan, you may need to add the');
|
||||||
|
console.log('!!!! WARNING: `--unsafe-perm=true` flag when running `npm install`');
|
||||||
|
console.log('!!!! WARNING: or else it will fail.');
|
||||||
|
console.log('!!!! WARNING: link:');
|
||||||
|
console.log('!!!! WARNING: https://github.com/phonegap/ios-deploy#os-x-1011-el-capitan');
|
||||||
|
console.log('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
process.exit(code);
|
process.exit(code);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user