Skip to content

Commit f91056b

Browse files
author
Dimitar Tachev
authored
Merge pull request #57 from NativeScript/tachev/cocoapod-warning
docs: improve missing CocoaPods warning
2 parents 10632d2 + 8b53f57 commit f91056b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/doctor.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export class Doctor implements NativeScriptDoctor.IDoctor {
8787
platforms: [Constants.ANDROID_PLATFORM_NAME]
8888
}),
8989
this.processValidationErrors({
90-
warnings: this.androidToolsInfo.validateInfo({projectDir}),
90+
warnings: this.androidToolsInfo.validateInfo({ projectDir }),
9191
infoMessage: "A compatible Android SDK for compilation is found.",
9292
platforms: [Constants.ANDROID_PLATFORM_NAME]
9393
}),
@@ -136,7 +136,7 @@ export class Doctor implements NativeScriptDoctor.IDoctor {
136136
infoMessage: "CocoaPods are installed.",
137137
warningMessage: "CocoaPods is not installed or is not configured properly.",
138138
additionalInformation: "You will not be able to build your projects for iOS if they contain plugin with CocoaPod file." + EOL
139-
+ "To be able to build such projects, verify that you have installed CocoaPods.",
139+
+ "To be able to build such projects, verify that you have installed CocoaPods (`sudo gem install cocoapods`).",
140140
platforms: [Constants.IOS_PLATFORM_NAME]
141141
}),
142142
this.processSysInfoItem({

0 commit comments

Comments
 (0)