Agent Skills
› keychat-io/keychat-app
› pods
pods
GitHub用于在iOS和macOS项目中通过Melos脚本自动更新和安装CocoaPods依赖,解决依赖不同步、插件升级或环境错误等问题。
Trigger Scenarios
添加新的原生iOS/macOS依赖后
Podfile.lock与当前状态不同步时
升级Flutter框架或相关插件后
遇到'pod not found'等依赖解析错误时
Install
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
Version History
- 294d00d Current 2026-07-05 10:51


