xcode-project-setup
Installation
Summary
Safely add Swift Package dependencies and link configuration files to Xcode projects without manual .pbxproj editing.
- Automates both package repository registration and target linking in a single command, eliminating manual Xcode UI steps
- Handles Firebase setup automatically, including injection of the
-ObjClinker flag required to prevent runtime crashes from stripped Objective-C categories - Supports optional configuration file linking (e.g.,
GoogleService-Info.plist) via the--plistflag - Idempotent design skips re-linking already-present packages and files; requires Swift toolchain and macOS environment
SKILL.md
Xcode Project Setup
⛔️ CRITICAL RULES & ENVIRONMENT CHECKS
Before performing any Xcode setup or file manipulation, you MUST adhere to the following rules. A hefty fee will be applied if you violate them.
1. The Anti-Ruby Mandate
You are strictly forbidden from using Ruby, Rails, or any Ruby gems
(including the xcodeproj gem). Under no circumstances may you write or execute
Ruby scripts.
2. Modern Xcode Folder Synchronization
Modern Xcode projects support folder synchronization. When adding new source
code (.swift) or resource files, simply write them to the correct directory on
disk. They will be automatically included in the Xcode project. Never manually
modify the .pbxproj file to add files.