Wednesday, 4 September 2013

iOS Project with Cocoapods in SVN Failed when doing pod install/update

iOS Project with Cocoapods in SVN Failed when doing pod install/update

So we decided to integrate cocoapods in our existing project which is
under SVN. My teammate had successfully setup it and he can just build the
project just fine.
But when I checked-out the project and did a pod install, this what happens:
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 in the svn status, I have missing directories:
MyProject/Pods/Headers and
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?

No comments:

Post a Comment