Pular para o conteúdo
Kitbay
Enviar
SkillOficial

xcode-project-setup

Apache-2.0Atualizado em 9 de nov. de 2026508Estrelas no GitHubInclui 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.

O que a skill ensina

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.

O que faz

  • 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