无法更新Podfile为AFAmazonS3Client请修复
我试图更新我的荚文件无法更新Podfile为AFAmazonS3Client请修复
# 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 => '[email protected]:fjcaetano/RDRStickyKeyboardView.git', :branch => 'no_init'
#pod 'RDRStickyKeyboardView', :path => '/Users/flaviocaetano/github/RDRStickyKeyboardView'
#pod 'AFAmazonS3Client', :path => '/Users/flaviocaetano/github/AFAmazonS3Client'
pod 'AFAmazonS3Client', :git => '[email protected]:fjcaetano/AFAmazonS3Client.git'
pod 'FXForms', :git => '[email protected]:fjcaetano/FXForms.git'
#pod 'FXForms', :path => '/Users/flaviocaetano/github/FXForms'
pod 'BlurryModalSegue', :git => '[email protected]:fjcaetano/BlurryModalSegue.git'
#pod 'BlurryModalSegue', :path => '/Users/flaviocaetano/github/BlurryModalSegue'
inhibit_all_warnings!
end
target "PappTests" do
end
我得到了以下错误
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 `[email protected]:fjcaetano/AFAmazonS3Client.git`
[!] /usr/bin/git clone [email protected]: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 ???
请检查命令
的输出它显示下面的输出
MacBook-Air:pappiosmaster seemtech$ ssh -vT [email protected]
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).
尝试链接吊舱(AFAmazonS3Client)从原来的仓库:请看截图:http://monosnap.com/image/ssRSVml5bh5pwO8rhA4T7hICCsT1De
然后,尝试更新系统宝石:
gem update --system
然后,重新安装的CocoaPods
sudo gem install cocoapods
我已经运行在命令之上 devs-MacBook-Air:pappiosmaster seemtech $ gem update --system /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13 /rbconfig.rb:213:警告:PATH中不安全的可写dir/usr,模式040777 当前安装的最新版本。中止。 – iphonemaclover 2014-09-02 09:24:53
也请告诉我有关如何创建podfile.lock – iphonemaclover 2014-09-02 09:29:00
podfile.lock是在您运行命令:pod install项目目录中的Podfile文件所在位置后创建的。 – 2014-09-02 09:30:14
你检查原来的仓库URL https://github.com/AFNetworking/AFAmazonS3Client? – 2014-09-02 08:26:02
我是pod中的新成员,你能否提到我必须在我的pod文件中对其进行更改? – iphonemaclover 2014-09-02 09:03:19
改变这个 荚 'AFAmazonS3Client',:GIT中=> '[email protected]:AFNetworking/AFAmazonS3Client.git' #pod 'AFAmazonS3Client',:路径=> '/用户/ AFNetworking/github上/ AFAmazonS3Client' 不工作 – iphonemaclover 2014-09-02 09:14:03