
它只是展示了结构的唯一性.
另一方面,如果我尝试运行pod安装,这来了.
在这里,我尝试将sample-pod(私有pod)安装到我的本地项目之一.
sIDdarths-MacBook-P:PodInstallDemoApp sIDdarthchaturvedi$pod installAnalyzing dependencIEsPre-downloading: `sample-pod` from `git@github.com:MY_COMAPNY_name/sample-pod.git`Enter passphrase for key '/Users/sIDdarthchaturvedi/.ssh/ID_rsa': Enter passphrase for key '/Users/sIDdarthchaturvedi/.ssh/ID_rsa': [!] /usr/bin/git clone git@github.com:MY_COMPANY_name/sample-pod.git /Users/sIDdarthchaturvedi/library/Caches/CocoaPods/GitHub/8ce0f86807ab15b9f8d51bb9d2026cc102ba51aa --mirrorcloning into bare repository '/Users/sIDdarthchaturvedi/library/Caches/CocoaPods/GitHub/8ce0f86807ab15b9f8d51bb9d2026cc102ba51aa'...Saving password to keychain FailedPermission denIEd (publickey).fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
有关更多详细信息: – *** 作系统 – Mac OSX 10.9使用最新版本的cocoapods.
git版本1.8.5.2(Apple Git-48)
然后使用以下命令让CocoaPods知道您的私人仓库的位置:
pod repo add <YourPivatePodsname> <YourPodRepoURL>
例如:
pod repo add MyPrivatePods git@bitbucket.org:yourname/podspec.git总结
以上是内存溢出为你收集整理的ios – 如何使用私有pod添加私有Spec Repo?全部内容,希望文章能够帮你解决ios – 如何使用私有pod添加私有Spec Repo?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)