pods

GitHub

用于更新和安装 iOS/macOS 的 CocoaPods 依赖。通过 melos 脚本自动处理 iOS 和 macOS 目录下的 pod update 与 install,解决依赖不同步或插件升级后的环境配置问题。

.claude/skills/pods/SKILL.md keychat-io/keychat-app

Trigger Scenarios

添加新的原生 iOS/macOS 依赖 Podfile.lock 文件不同步 升级 Flutter 或相关插件后 遇到 'pod not found' 错误时

Install

npx skills add keychat-io/keychat-app --skill pods -g -y
More Options

Non-standard path

npx skills add https://github.com/keychat-io/keychat-app/tree/main/.claude/skills/pods -g -y

Use without installing

npx skills use keychat-io/keychat-app@pods

指定 Agent (Claude Code)

npx skills add keychat-io/keychat-app --skill pods -a claude-code -g -y

安装 repo 全部 skill

npx skills add keychat-io/keychat-app --all -g -y

预览 repo 内 skill

npx skills add keychat-io/keychat-app --list

SKILL.md

Frontmatter
{
    "name": "pods",
    "description": "Update and install CocoaPods dependencies for iOS and macOS",
    "allowed-tools": "Bash(pod *), Bash(cd *)",
    "disable-model-invocation": true
}

Update and install CocoaPods dependencies for iOS and macOS builds.

Command

Run the melos pods script:

melos run pod:install

This will:

  1. Navigate to packages/app/ios
  2. Run pod update && pod install --repo-update
  3. Navigate to packages/app/macos
  4. Run pod update && pod install --repo-update

When to use

  • After adding new native iOS/macOS dependencies
  • When Podfile.lock is out of sync
  • After upgrading Flutter or plugins
  • When getting "pod not found" errors

Troubleshooting

If pods fail to install:

  1. Try cleaning first: cd packages/app/ios && rm -rf Pods Podfile.lock
  2. Update CocoaPods: gem install cocoapods
  3. Clear pod cache: pod cache clean --all

Version History

  • 294d00d Current 2026-07-05 10:51

Same Skill Collection

.claude/skills/architecture/SKILL.md
.claude/skills/batch/SKILL.md
.claude/skills/bootstrap/SKILL.md
.claude/skills/flutter-check/SKILL.md
.claude/skills/generate/SKILL.md
.claude/skills/lint/SKILL.md
.claude/skills/clean/SKILL.md
.claude/skills/run/SKILL.md
.claude/skills/rust-build/SKILL.md
.claude/skills/test/SKILL.md

Metadata

Files
0
Version
294d00d
Hash
62dc35ad
Indexed
2026-07-05 10:51

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-19 23:36
浙ICP备14020137号-1 $お客様$