首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法更新AFAmazonS3Client的Podfile,请修复

无法更新AFAmazonS3Client的Podfile,请修复
EN

Stack Overflow用户
提问于 2014-09-02 08:07:00
回答 1查看 207关注 0票数 0

我想更新我的荚文件

代码语言:javascript
复制
# Uncomment this line to define a global platform for your project
# platform :ios, "6.0"

target "Papp" do

# Frameworks
pod 'Parse-iOS-SDK', '~> 1.2.19'
pod 'Reveal-iOS-SDK', '~> 1.0.4'
pod 'CrashlyticsFramework', '~> 2.2.1'

#Pods
#pod 'AFNetworking', '~> 2.2.3'
pod 'IDMAlertViewManager', '~> 1.1'
#pod 'FXBlurView', '~> 1.6.1'
#pod 'GPUImage', '~> 0.1.4'
pod 'DACircularProgress', '~> 2.2'
pod 'SVProgressHUD', '~> 1.0'
#pod 'DAKeyboardControl', '~> 2.3.1'
#pod 'TPKeyboardAvoiding', '~> 1.2.3'
pod 'MagicalRecord', '~> 2.2'

pod 'RDRStickyKeyboardView', :git => 'git@github.com:fjcaetano/RDRStickyKeyboardView.git', :branch => 'no_init'
#pod 'RDRStickyKeyboardView', :path => '/Users/flaviocaetano/github/RDRStickyKeyboardView'

#pod 'AFAmazonS3Client', :path => '/Users/flaviocaetano/github/AFAmazonS3Client'
pod 'AFAmazonS3Client', :git => 'git@github.com:fjcaetano/AFAmazonS3Client.git'

pod 'FXForms', :git => 'git@github.com:fjcaetano/FXForms.git'
#pod 'FXForms', :path => '/Users/flaviocaetano/github/FXForms'

pod 'BlurryModalSegue', :git => 'git@github.com:fjcaetano/BlurryModalSegue.git'
#pod 'BlurryModalSegue', :path => '/Users/flaviocaetano/github/BlurryModalSegue'

inhibit_all_warnings!

end

target "PappTests" do

end

我得到了下面的错误

代码语言:javascript
复制
my-MacBook-Air:pappiosmaster iphonemaclover$ pod install
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/rbconfig.rb:213: warning: Insecure world writable dir /usr in PATH, mode 040777
Analyzing dependencies
Pre-downloading: `AFAmazonS3Client` from `git@github.com:fjcaetano/AFAmazonS3Client.git`
[!] /usr/bin/git clone git@github.com:fjcaetano/AFAmazonS3Client.git /Users/seemtech/Library/Caches/CocoaPods/GitHub/f4b1b84822c913fd86bbbfcacbb0e339645fc475 --mirror

Cloning into bare repository '/Users/iphonemaclover/Library/Caches/CocoaPods/GitHub/f4b1b84822c913fd86bbbfcacbb0e339645fc475'...

Permission denied (publickey).

fatal: Could not read from remote repository.



Please make sure you have the correct access rights

and the repository exists.

my-MacBook-Air:pappiosmaster iphonemaclover$ 

如何解决这个问题??我检查了 https://github.com/fjcaetano/AFAmazonS3Client 及其公共项,此外,我还得到了上面的错误。

还想知道Podfile.lock是如何创建的?

请检查命令输出

它的显示如下输出

代码语言:javascript
复制
MacBook-Air:pappiosmaster seemtech$ ssh -vT git@github.com
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug1: Connecting to github.com [192.30.252.131] port 22.
debug1: Connection established.
debug1: identity file /Users/seemtech/.ssh/id_rsa type -1
debug1: identity file /Users/seemtech/.ssh/id_rsa-cert type -1
debug1: identity file /Users/seemtech/.ssh/id_dsa type -1
debug1: identity file /Users/seemtech/.ssh/id_dsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2
debug1: Remote protocol version 2.0, remote software version libssh-0.6.0
debug1: no match: libssh-0.6.0
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-sha1 none
debug1: kex: client->server aes128-ctr hmac-sha1 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Server host key: RSA 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
debug1: Host 'github.com' is known and matches the RSA host key.
debug1: Found key in /Users/seemtech/.ssh/known_hosts:2
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/seemtech/.ssh/id_rsa
debug1: Trying private key: /Users/seemtech/.ssh/id_dsa
debug1: No more authentication methods to try.
Permission denied (publickey).
EN

回答 1

Stack Overflow用户

发布于 2014-09-02 09:22:55

尝试从原始存储库链接pod (AFAmazonS3Client):查看屏幕截图:http://monosnap.com/image/ssRSVml5bh5pwO8rhA4T7hICCsT1De

然后,尝试更新系统gems:

代码语言:javascript
复制
gem update --system

然后,重新安装cocoapods

代码语言:javascript
复制
sudo gem install cocoapods
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25618682

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档