Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tns doctor => cocoapods failed #1741

Closed
akanass opened this issue May 6, 2016 · 21 comments
Closed

tns doctor => cocoapods failed #1741

akanass opened this issue May 6, 2016 · 21 comments
Assignees
Labels
Milestone

Comments

@akanass
Copy link

akanass commented May 6, 2016

Hello,

When try to do tns doctor, I have error with Podfile of AFNetworking:

Verifying CocoaPods. This may take more than a minute, please be patient.
  ◝ Installing iOS runtime.(node:85055) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
  ◝ Installing iOS runtime.tns-ios@2.0.0 ../../var/folders/br/8v_dvjf57v33lg60t_711qh00000gn/T/nativescript-check-cocoapods11646-85055-xtr4je.b2w8ode7b9/node_modules/tns-ios
  ◠ Verifying CocoaPods. This may take some time, please be patient..
Analyzing dependencies
[!] The dependency `AFNetworking (~> 1.0)` is not used in any concrete target.

WARNING: There was a problem with CocoaPods
Verify that CocoaPods are configured properly.
There seem to be issues with your configuration.

I've reinstalled so many times cocoapods in v0.39 and in pre release but nothing works.

Can you help me?

Thanks.

@imjohnbo
Copy link

I have this problem too.

Any ideas?

@ilpaijin
Copy link

the same

@apntzls
Copy link

apntzls commented May 15, 2016

Ditto

@preekmr
Copy link

preekmr commented May 15, 2016

Same problem here!

`Verifying CocoaPods. This may take more than a minute, please be patient.
Installing iOS runtime.tns-ios@2.0.0 ../../var/folders/gn/_vqlg02n1r3_3pb_csvyrqgc0000gn/T/nativescript-check-cocoapods116415-47389-15druqb/node_modules/tns-ios
Verifying CocoaPods. This may take some time, please be patient..
Analyzing dependencies
[!] The dependency "AFNetworking (~> 1.0)" is not used in any concrete target.

WARNING: There was a problem with CocoaPods
Verify that CocoaPods are configured properly.
There seem to be issues with your configuration.
`

@ejsuncy
Copy link

ejsuncy commented May 15, 2016

same here. I've been stuck on this part of the chapter one tutorial for dayz...

@preekmr
Copy link

preekmr commented May 15, 2016

Hey @ejsuncy, though I am getting the error I could able to run the app in the IOS emulator. Probably you can check on that.

@Mitko-Kerezov Mitko-Kerezov self-assigned this May 16, 2016
@Mitko-Kerezov Mitko-Kerezov modified the milestone: 2.1 (Under consideration) May 16, 2016
@fryck
Copy link

fryck commented May 16, 2016

Same for me

@snailbites
Copy link

+1

1 similar comment
@Daxito
Copy link

Daxito commented May 17, 2016

+1

@Mitko-Kerezov Mitko-Kerezov added this to the 2.0.1 milestone May 17, 2016
@bendav91
Copy link

Also having the same problem. On Running $ tns doctor after the dependency installation, I'm getting [!] The dependency AFNetworking (~> 1.0) is not used in any concrete target.

@ejsuncy
Copy link

ejsuncy commented May 20, 2016

I had skipped installing node because I already had it. I ended up installing node 4.4.4 from the website (not with homebrew), which also updated npm to 2.15.1. I then started the tutorial over again, installing nativescript, and everything works as expected now...problem solved for me :)

@Mitko-Kerezov
Copy link
Contributor

This issue was resolved with the latest 2.0.1 version of the NativeScript CLI

@gatspy
Copy link

gatspy commented Jul 25, 2016

2.1.1, Ditto

@sittingbool
Copy link

Same here, Version 2.2.1. Is it a Pods problem? Does reinstalling help?

@justinrassier
Copy link

justinrassier commented Sep 1, 2016

Version 2.2.1. I gave reinstalling all the gems and nativescript a try and it didn't seem to help.

@justinrassier
Copy link

This is the command it seems to be blowing up at:

Errno::EACCES - Permission denied @ dir_s_mkdir - /Users/justin.rassier/Library/Caches/CocoaPods

@NicoleZA
Copy link

I also cannot install cocoa pods.
I have the latest nativescript cli

@florianbepunkt
Copy link

Same problem here: I installed nativescript 2.3.0 and followed your getting started guide. tns doctor fails with


WARNING: There was a problem with CocoaPods
Verify that CocoaPods are configured properly.
There seem to be issues with your configuration.

@sudhanshu-15
Copy link

NativeScript uses the sandbox-pod executable. This may prevent some pods from installing correctly. If you encounter such cases, you can switch to the regular pod executable:
+>
+> 1. Open the NativeScript CLI configuration file, usually located in /usr/local/lib/node_modules/nativescript/config/config.json.
+> 1. Change the value of USE_POD_SANDBOX to false.

This worked for me.

https://github.com/NativeScript/docs/pull/259/files

@rosen-vladimirov
Copy link
Contributor

@sudhanshu-15 , @florianbepunkt , please make sure you have Cocoapods 1.0.0 or later installed on your machines. Due to latest changes in Cocoapods (described in their blog) versions pre 1.0.0 will not work.

@sudhanshu-15
Copy link

@rosen-vladimirov this is a fix for Cocoapods 1.0.1 and 1.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests