Skip to content
Kitbay
Submit

xcode-project-setup

Apache-2.0Updated on Nov 9, 2026508GitHub starsIncludes scripts

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.

What the skill teaches

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.

Capabilities

  • 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