xcode-project-setup
A skill from Firebase's agent-skills collection for adding Swift Package Manager dependencies to an iOS Xcode project without hand-editing the .pbxproj file.
スキルの内容
A skill from Firebase's agent-skills collection for adding Swift Package Manager dependencies to an iOS Xcode project without hand-editing the .pbxproj file. The agent checks that Swift is installed, then runs a bundled Swift command-line package that adds a package repository at a given version, links the chosen product modules to the app target and can attach a config plist such as GoogleService-Info.plist. For Firebase it also sets the -ObjC linker flag. It works for other packages too, such as Alamofire, and asks the user to create the Xcode project first if none exists. It needs macOS and Swift.
できること
- Add a Swift package dependency to an Xcode project
- Link package products to the app target
- Attach GoogleService-Info.plist to the project resources
- Add the -ObjC linker flag for Firebase
概要
- 公開元
- Firebase
- ツール
- Firebase
インストール
- すべてのクライアントに追加するには、次のコマンドを実行します:
npx skills add firebase/skills
含まれるファイル
- scripts/xcode_spm_setup/.gitignore
- scripts/xcode_spm_setup/Package.resolved
- scripts/xcode_spm_setup/Package.swift
- scripts/xcode_spm_setup/Sources/main.swift
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
このスキルには、エージェントが実行する可能性のあるスクリプトが含まれています。
出典
- スキルファイル(SKILL.md)github.com/firebase/agent-skills · 根拠となる項目:プラットフォーム2026年11月10日
- README(README.md)github.com/firebase/agent-skills2026年11月13日
- ライセンスファイル(LICENSE)github.com/firebase/agent-skills · 根拠となる項目:ライセンス2026年11月13日
- Webページfirebase.google.com · 根拠となる項目:公式かどうか2026年11月13日
- GitHubリポジトリgithub.com/firebase/agent-skills · 根拠となる項目:公開元, 活動状況, ライセンス2026年11月11日
- リポジトリ内のフォルダ(xcode_spm_setup)github.com/firebase/agent-skills · 根拠となる項目:スクリプトを含む2026年11月13日
- リポジトリ内のフォルダ(xcode-project-setup)github.com/firebase/agent-skills · 根拠となる項目:スクリプトを含む2026年11月10日