Skip to content

Confusing report for a problem with CocoaPods during installation #2363

@vchimev

Description

@vchimev

The CLI reports a problem with CocoaPods (WARNING: There was a problem with CocoaPods) during installation. But if tns doctor executed afterwards, it says No issues were detected.

The issue is not reproducible with CLI 2.4.2.

Steps:

  • setup CocoaPods 1.1.1
  • npm i -g nativescript@next

My exact version is 2.5.0-2016-12-16-7479. At this step, the CLI reports a problem with CocoaPods.

  • tns doctor

At this step, the CLI reports no issues.

Log:

mcsofvchimev:master vchimev$ pod --version
1.1.1

mcsofvchimev:master vchimev$ npm i -g nativescript@next
npm WARN excluding symbolic link docs/stylesheets/hightlight.css -> ../../node_modules/highlight.js/src/styles/solarized_light.css
npm WARN excluding symbolic link docs/assets/ir_black.css -> ../../node_modules/highlight.js/src/styles/ir_black.css
npm WARN excluding symbolic link examples/TestFramework/Test Framework.framework/Resources -> Versions/Current/Resources
npm WARN excluding symbolic link examples/TestFramework/Test Framework.framework/Test Framework -> Versions/Current/Test Framework
npm WARN excluding symbolic link examples/TestFramework/Test Framework.framework/Versions/Current -> A
npm WARN deprecated lodash-node@2.4.1: This package is discontinued. Use lodash@^4.0.0.
npm WARN deprecated node-uuid@1.3.3: use uuid module instead

> nativescript@2.5.0-2016-12-16-7479 preuninstall /usr/local/lib/node_modules/nativescript
> node preuninstall.js

Failed to complete all pre-uninstall steps.
/usr/local/bin/tns -> /usr/local/lib/node_modules/nativescript/bin/tns
/usr/local/bin/nativescript -> /usr/local/lib/node_modules/nativescript/bin/tns

> nativescript@2.5.0-2016-12-16-7479 postinstall /usr/local/lib/node_modules/nativescript
> node postinstall.js

Verifying CocoaPods. This may take more than a minute, please be patient.
  ◠ Installing iOS runtime./usr/local/lib
└── tns-ios@2.4.0 


WARNING: There was a problem with CocoaPods
Verify that CocoaPods are configured properly.
There seem to be issues with your configuration.
? Do you want to visit the official documentation? No
? Do you want to run the setup script? No
Your components are up-to-date.

Autocompletion is already enabled

Installation successful. You are good to go. Connect with us on http://twitter.com/NativeScript.

/usr/local/lib
└── nativescript@2.5.0-2016-12-16-7479 

mcsofvchimev:master vchimev$ tns --version
2.5.0-2016-12-16-7479

mcsofvchimev:master vchimev$ tns doctor
Verifying CocoaPods. This may take more than a minute, please be patient.
  ◡ Installing iOS runtime.nativescript-check-cocoapods@0.0.1 /private/var/folders/8k/ccv181q10z18k09cv2jgf9y929jlc5/T/nativescript-check-cocoapods1161119-2653-1lajs4g.4zq9wzh0k9
└── tns-ios@2.4.0 


  ◠ Verifying CocoaPods. This may take some time, please be patient..
Your components are up-to-date.

No issues were detected.

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions