有没有人最近成功使用了 PinterestSDK CocoaPods? 这是我用作引用的链接: https://developers.pinterest.com/docs/sdks/ios/
我收到以下错误:
Pre-downloading:
PinterestSDK
fromgit@github.com:pinterest/ios-pdk.git
[!] Error installing PinterestSDK [!] /usr/bin/git clone git@github.com:pinterest/ios-pdk.git /var/folders/2m/87ls355x7_7b50b61d9h3lkr0000gn/T/d20150924-16277-16zcydf --single-branch --depth 1
Cloning into '/var/folders/2m/87ls355x7_7b50b61d9h3lkr0000gn/T/d20150924-16277-16zcydf'...
Permission denied (publickey).**
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
CocoaPods 已安装,在创建的 Podfile 中添加依赖,其他 Cocoapods 不返回错误。
有人有解决方法吗?
最佳答案
正是 Podfile 中的这一行帮助我将 Pinterest-SDK 安装为 Cocoapods:
pod "PinterestSDK", :git => "https://github.com/pinterest/ios-pdk.git"
关于ios - PinterestSDK CocoaPods 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32767104/