-
-
Notifications
You must be signed in to change notification settings - Fork 372
Closed
Description
Note
The pull request "Add XcodeGen JSON schema for YAML language server" was created by @philprime but did not reference an issue. Therefore this issue was created for better visibility in external tools like Linear.
This PR adds a comprehensive JSON schema for XcodeGen YAML files and updates all XcodeGen YAML files in the repository to reference it.
Changes
- Added
schema/xcodegen.schema.json- A complete JSON schema based on the XcodeGen ProjectSpec documentation - Updated all 15 XcodeGen YAML files to reference the schema via
# yaml-language-server: $schema=../../schema/xcodegen.schema.json
Benefits
- Enables autocomplete and IntelliSense in YAML language servers (VS Code, Cursor, etc.)
- Provides validation to catch errors before running xcodegen
- Improves developer experience when editing XcodeGen YAML files
- Schema includes validation for all XcodeGen features: targets, schemes, dependencies, settings, packages, etc.
The schema is based on the official XcodeGen ProjectSpec documentation and includes proper validation rules, including preventing invalid properties like configs at the target level (should use settings.configs instead).
Metadata
Metadata
Assignees
Labels
No labels