我試圖更新我的莢文件無法更新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).
你檢查原來的倉庫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