Agent Skills
› keychat-io/keychat-app
› pods
pods
GitHub用于在 iOS 和 macOS 构建中更新及安装 CocoaPods 依赖。执行 melos pod:install 脚本,自动处理 packages/app/ios 和 packages/app/macos 目录下的 pod update 与 install。适用于新增原生依赖、Podfile.lock 不同步、升级 Flutter 或解决 'pod not found' 错误等场景。
触发场景
添加新的原生 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


