无法运行Pod安装-权限错误 [英] Can't run pod install - permission error
本文介绍了无法运行Pod安装-权限错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在尝试运行某人的项目,但无法执行pod安装。
I have been trying to run someone's project but can't do pod install.
pod install
Analyzing dependencies
Pre-downloading: `KNMultiItemSelector` from `https://github.com/kentnguyen/KNMultiItemSelector.git`
Downloading dependencies
Installing AFNetworking (2.5.1)
Installing Amplitude-iOS (2.2.4)
Installing Analytics (1.11.2)
Installing AppsFlyer-SDK (2.5.3.10)
Installing Bugsnag (4.0.3)
[!] Error installing Bugsnag
[!] /usr/bin/git submodule update --init
Submodule 'KSCrashModule' (git@github.com:bugsnag/KSCrash.git) registered for path 'KSCrashModule'
Cloning into 'KSCrashModule'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Clone of 'git@github.com:bugsnag/KSCrash.git' into submodule path 'KSCrashModule' failed
我在Stack Overflow等上尝试了很多不同的建议,但仍然遇到了这种情况。有人有其他想法吗?
I tried a bunch of different suggestions on Stack Overflow etc. and still running into this. Anyone have some other ideas?
推荐答案
我最终删除了 Bugsnatcher podfile并重新安装了它。之后,我在使用另一个Podfile时遇到了另一个错误,但也重新安装了该文件。之后建立的项目。
I ended up removing the "Bugsnatcher" podfile and reinstalling it. I had another error with a different podfile afterwards, but also reinstalled that one. Project built after that.
这篇关于无法运行Pod安装-权限错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文