本文へスキップ
Kitbay
掲載依頼
スキル公式

xcode-project-setup

Apache-2.02026年11月9日 更新508GitHubスタースクリプトあり

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