Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit afd83fd

Browse files
Fatme HavaluovaFatme Havaluova
Fatme Havaluova
authored and
Fatme Havaluova
committed
Warning if pods are not installed and for old CocoaPods versions
NativeScript/nativescript-cli#949
1 parent e07b391 commit afd83fd

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

declarations.d.ts

+5-3
Original file line numberDiff line numberDiff line change
@@ -316,12 +316,14 @@ interface ISysInfoData {
316316
androidInstalled: boolean;
317317
/** mono version, relevant on Mac only **/
318318
monoVer: string;
319-
/** git version string, as retunrnes by `git --version` **/
319+
/** git version string, as returned by `git --version` **/
320320
gitVer: string;
321-
/** gradle version string as retunrnes by `gradle -v` **/
321+
/** gradle version string as returned by `gradle -v` **/
322322
gradleVer: string;
323-
/** javac version string as retunrnes by `javac -version` **/
323+
/** javac version string as returned by `javac -version` **/
324324
javacVersion: string;
325+
/** pod version string, as returned by `pod --version` **/
326+
cocoapodVer: string;
325327
}
326328

327329
interface ISysInfo {

sysinfo.ts

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ export class SysInfo implements ISysInfo {
5353
res.xcodeVer = this.$hostInfo.isDarwin ? this.exec("xcodebuild -version") : null;
5454
res.itunesInstalled = this.$iTunesValidator.getError().wait() === null;
5555

56+
res.cocoapodVer = this.$hostInfo.isDarwin ? this.exec("pod --version") : null;
57+
5658
procOutput = this.exec("adb version");
5759
res.adbVer = procOutput ? procOutput.split(os.EOL)[0] : null;
5860

0 commit comments

Comments
 (0)