diff --git a/lib/services/ios-project-service.ts b/lib/services/ios-project-service.ts index 18c821c42c..e520316a74 100644 --- a/lib/services/ios-project-service.ts +++ b/lib/services/ios-project-service.ts @@ -860,7 +860,7 @@ export class IOSProjectService extends projectServiceBaseLib.PlatformProjectServ return (() => { let xcprojInfo = this.$xcprojService.getXcprojInfo().wait(); if (xcprojInfo.shouldUseXcproj && !xcprojInfo.xcprojAvailable) { - let errorMessage = `You are using CocoaPods version ${xcprojInfo.cocoapodVer} which does not support Xcode ${xcprojInfo.xcodeVersion.major}.${xcprojInfo.xcodeVersion.minor} yet.${EOL}In order for the NativeScript CLI to be able to work correctly with this setup you need to install xcproj command line tool and add it to your PATH. Xcproj can be installed with homebrew by running $ brew install xcproj from the terminal`; + let errorMessage = `You are using CocoaPods version ${xcprojInfo.cocoapodVer} which does not support Xcode ${xcprojInfo.xcodeVersion.major}.${xcprojInfo.xcodeVersion.minor} yet.${EOL}${EOL}You can update your cocoapods by running $sudo gem install cocoapods from a terminal.${EOL}${EOL}In order for the NativeScript CLI to be able to work correctly with this setup you need to install xcproj command line tool and add it to your PATH. Xcproj can be installed with homebrew by running $ brew install xcproj from the terminal`; this.$errors.failWithoutHelp(errorMessage); diff --git a/lib/services/xcproj-service.ts b/lib/services/xcproj-service.ts index bae54dc8f4..6d6a5ef1e2 100644 --- a/lib/services/xcproj-service.ts +++ b/lib/services/xcproj-service.ts @@ -19,7 +19,7 @@ class XcprojService implements IXcprojService { return ((): boolean => { let xcprojInfo = this.getXcprojInfo().wait(); if (xcprojInfo.shouldUseXcproj && !xcprojInfo.xcprojAvailable) { - let errorMessage = `You are using CocoaPods version ${xcprojInfo.cocoapodVer} which does not support Xcode ${xcprojInfo.xcodeVersion.major}.${xcprojInfo.xcodeVersion.minor} yet.${EOL}In order for the NativeScript CLI to be able to work correctly with this setup you need to install xcproj command line tool and add it to your PATH. Xcproj can be installed with homebrew by running $ brew install xcproj from the terminal`; + let errorMessage = `You are using CocoaPods version ${xcprojInfo.cocoapodVer} which does not support Xcode ${xcprojInfo.xcodeVersion.major}.${xcprojInfo.xcodeVersion.minor} yet.${EOL}${EOL}You can update your cocoapods by running $sudo gem install cocoapods from a terminal.${EOL}${EOL}In order for the NativeScript CLI to be able to work correctly with this setup you need to install xcproj command line tool and add it to your PATH. Xcproj can be installed with homebrew by running $ brew install xcproj from the terminal`; if (shouldFail) { this.$errors.failWithoutHelp(errorMessage); } else {