Cocoapods的问题:CDN:TRUNK URL可以下载

发布于 2025-01-28 03:23:33 字数 1382 浏览 3 评论 0原文

我已经尝试安装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)

  1. 打开终端
  2. sudo gem安装cocoapods
  3. 访问我的文件夹,我将xcodeproj带有命令CD
  4. POD INIT
  5. 这是我的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 :

  1. open the terminal
  2. sudo gem install cocoapods
  3. access to my folder where I have the xcodeproj with command cd
  4. pod init
  5. 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

风吹雨成花 2025-02-04 03:23:33

好吧,现在起作用。似乎可可蛋白录入了片刻,但固定了。

Okay it works now. It seems cocoapods has a problem for a moment but it fixed.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文