Installing CocoaPods is a nightmare with this instruction

未关闭
#11,925 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
停滞
技术栈
flutter, macos, ruby
领域
documentation

调研方向

从 src/content/get-started/install/macos/mobile-ios.md 开始,将其中的 CocoaPods 说明与报告的 Sequoia 上 Intel 和 M2 Mac 的使用体验进行比较。按照文档中的安装步骤操作,并运行 flutter doctor,检查 Xcode 状态是否已解决。当新手可以按照该页面操作且不会遇到报告中的 Ruby 和 CocoaPods 问题时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

a.get-started e2-days from.page-issue p2-medium
Page URL

https://docs.flutter.dev/get-started/install/macos/mobile-ios/

Page source

https://github.com/flutter/website/tree/main/src/content/get-started/install/macos/mobile-ios.md

Describe the problem

Attempting to install CocoaPods as instructed here results in many problems to a novice in computer science such as myself. I think the problem is that the ruby installation shipping with Macs is too old for CocoaPods. It took me an hour attempting an untraceable patchwork of fixes to finally get it running well enough for 'flutter doctor' to put a green checkmark next to Xcode.

Expected fix

Would love this updated to help learners through these seemingly inevitable issues.

Additional context

Happened both on my old Intel Mac and my M2 Pro Mac mini, both running sequoia.

I would like to fix this problem.
  • I will try and fix this problem on docs.flutter.dev.
主要语言
Dart
星标
3.1k
派生
3.5k
平均合并
2 天 10 小时
30 天内合并 PR
88

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

flutter/website 的其他 Issue

查看 flutter/website 的全部 Issue

相似的 Issue

更多 Dart Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。