Agent Skills
› keychat-io/keychat-app
› pods
pods
GitHub用于在 iOS 和 macOS 项目中更新及安装 CocoaPods 依赖,支持 Flutter 插件升级、Podfile 不同步或报错等场景,提供自动执行与故障排查指南。
触发场景
添加新的原生 iOS/macOS 依赖后
Podfile.lock 不同步时
升级 Flutter 或插件后
出现 'pod not found' 错误时
安装
npx skills add keychat-io/keychat-app --skill pods -g -y
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:
- Navigate to
packages/app/ios - Run
pod update && pod install --repo-update - Navigate to
packages/app/macos - 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:
- Try cleaning first:
cd packages/app/ios && rm -rf Pods Podfile.lock - Update CocoaPods:
gem install cocoapods - Clear pod cache:
pod cache clean --all
版本历史
- 294d00d 当前 2026-07-05 10:51


