Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/40.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c 无法更新AFAmazonS3Client的Podfile,请修复_Objective C_Iphone_Xcode_Github_Cocoapods - Fatal编程技术网

Objective c 无法更新AFAmazonS3Client的Podfile,请修复

Objective c 无法更新AFAmazonS3Client的Podfile,请修复,objective-c,iphone,xcode,github,cocoapods,Objective C,Iphone,Xcode,Github,Cocoapods,我正在尝试更新我的pod文件 # 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'

我正在尝试更新我的pod文件

# 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
我出现以下错误

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$ 
如何修复此问题我检查了它的公共性,此外我还发现了上述错误。

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

请检查命令的输出

它的输出如下

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).
尝试从原始存储库链接pod(AFAmazonS3Client):查看屏幕截图:

然后,尝试更新系统gems:

gem update --system
然后,重新安装CoCoapod

sudo gem install cocoapods

您是否检查了原始存储库url?我是pod中的新手,您能告诉我在我的pod文件中我必须在哪里对其进行更改吗?更改此pod'AFAmazonS3Client',:git=>'git@github.com:AFNetworking/AFAmazonS3Client.git'#pod'AFAmazonS3Client',:path=>'/Users/AFNetworking/github/AFAmazonS3Client'不工作我已经在命令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:警告:路径中的世界可写目录/usr不安全,模式040777当前安装的最新版本。正在中止。另外,请告诉我如何创建podfile.lockpodfile.lock是在您在podfile文件所在的项目目录中运行命令:pod install后自行创建的。是否可以运行此命令:
ssh-vTgit@github.com
,系统中的公钥/私钥似乎有问题。在跟踪日志中,尝试查找如下内容:
debug1:Host'github.com'已知并与RSA主机密钥匹配。debug1:在/Users/almasadilbek/.ssh/known_hosts:1 debug1:ssh_rsa_verify:签名正确
请检查我添加其输出