Cocoapods的问题:CDN:TRUNK URL可以下载
我已经尝试安装POD,并且有一个错误
[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: 403 <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
... (lot of code seems html)
:
打开终端
sudo gem安装cocoapods
访问我的文件夹,我将xcodeproj带有命令CD
POD INIT
- 这是我的podfile
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'Clinique Barber' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for Clinique Barber
pod 'Firebase/Firestore'
end
6.Save,然后转到终端:命令pod install
而且我有错误...
我已经尝试完全卸载可可录。 尝试与自制的可可录。 转到Xcode - &gt;偏好 - &gt;位置 - &GT;设置命令行工具 尝试使用ARCH -X86_64 POD install
尝试使用pod repo删除躯干
什么都没有起作用。
我已经使用上述步骤使用Cocoapods,并且效果很好。
但是今天我不知道为什么,它行不通。
我能做什么?
I have try to install pods and I have this error
[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: 403 <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en-US"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->
... (lot of code seems html)
What I did :
open the terminal
sudo gem install cocoapods
access to my folder where I have the xcodeproj with command cd
pod init
- here is my podfile
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'Clinique Barber' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for Clinique Barber
pod 'Firebase/Firestore'
end
6.save and go to terminal: command pod install
And I have the error...
I have try to uninstall cocoapods completely.
Try to install cocoapods with homebrew.
Go to Xcode -> Preferences -> Locations -> set command line tools
Try to use arch -x86_64 pod install
Try to use pod repo remove trunk
Nothing is working.
I have already use cocoapods with the steps above and it works fine.
But today I don't know why, it don't works.
What I can do please ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,现在起作用。似乎可可蛋白录入了片刻,但固定了。
Okay it works now. It seems cocoapods has a problem for a moment but it fixed.