2

So we decided to integrate CocoaPods in our existing project which is under SVN. My teammate had set it up successfully and he can just build the project just fine.

But when I checked-out the project and did a pod install, I get this error:

Analyzing dependencies
Downloading dependencies
Using ASIHTTPRequest (1.8.1)
Using Base64nl (1.1)
Installing Facebook-iOS-SDK (3.7.1)
[!] Pod::Executable clone '/Users/me/Library/Caches/CocoaPods/GitHub/2cdc3c53ee617444d0d6cd7730e598cd77a19eb2' 
'/Users/me/Desktop/MyFiles/iOS/MyProject/Pods/Facebook-iOS-SDK'

sh: -c: line 0: unexpected EOF while looking for matching `''

sh: -c: line 1: syntax error: unexpected end of file

I did try removing the Caches/CocoaPods/Github directory and pod install/update, but still it doesn't work.

I also found out that according to svn status, I have missing directories:

MyProject/Pods/Headers  
MyProject/Pods/BuildHeaders

// btw, Does this not automatically added when I pod install?

And lastly I thought that it's a problem with our internet connection here, but when I did try to pod install with another Project it works just fine.

What could be other setup am I missing?

4

2 回答 2

2

尝试做一个新svn checkout的项目,然后当它成功完成时,svn update立即做一个。你不应该得到任何新的东西(除非在你检查项目时有人已经承诺了)。之后,运行您的 pod 安装。

于 2013-09-06T06:14:55.990 回答
0

您遇到此问题是因为您的项目路径包含单引号或空格。

这个问题已经报告给 cocoapods 了

于 2013-12-03T13:35:03.200 回答