[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6737":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":24,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":35,"readmeContent":36,"aiSummary":37,"trendingCount":16,"starSnapshotCount":16,"syncStatus":38,"lastSyncTime":39,"discoverSource":40},6737,"XcodeGen","yonaskolb\u002FXcodeGen","yonaskolb","A Swift command line tool for generating your Xcode project","",null,"Swift",8506,883,98,351,0,17,92,11,82.54,"MIT License",false,"master",true,[26,27,28,29,30,31,32,33,34],"ci","cli","generator","specification","swift","xcode","xcodeproj","xcodeproject","yaml","2026-06-12 04:00:30","\u003Cp align=\"center\">\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fyonaskolb\u002FXcodeGen\">\n\u003Cimg src=\"Assets\u002FLogo_animated.gif\" alt=\"XcodeGen\" \u002F>\n\u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fyonaskolb\u002FXcodeGen\u002Freleases\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Frelease\u002Fyonaskolb\u002Fxcodegen.svg\"\u002F>\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fswiftpackageindex.com\u002Fyonaskolb\u002FXcodeGen\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fendpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fyonaskolb%2FXcodeGen%2Fbadge%3Ftype%3Dplatforms\" alt=\"Swift Package Manager Platforms\" \u002F>\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fswiftpackageindex.com\u002Fyonaskolb\u002FXcodeGen\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fendpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fyonaskolb%2FXcodeGen%2Fbadge%3Ftype%3Dswift-versions\" alt=\"Swift Versions\" \u002F>\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fyonaskolb\u002FXcodeGen\u002Fblob\u002Fmaster\u002FLICENSE\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fyonaskolb\u002FXcodeGen.svg\"\u002F>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n# XcodeGen\n\nXcodeGen is a command line tool written in Swift that generates your Xcode project using your folder structure and a project spec.\n\nThe project spec is a YAML or JSON file that defines your targets, configurations, schemes, custom build settings and many other options. All your source directories are automatically parsed and referenced appropriately while preserving your folder structure. Sensible defaults are used in many places, so you only need to customize what is needed. Very complex projects can also be defined using more advanced features.\n\n- ✅ Generate projects on demand and remove your `.xcodeproj` from git, which means **no more merge conflicts**!\n- ✅ Groups and files in Xcode are always **synced** to your directories on disk\n- ✅ Easy **configuration** of projects which is human readable and git friendly\n- ✅ Easily copy and paste **files and directories** without having to edit anything in Xcode\n- ✅ Share build settings across multiple targets with **build setting groups**\n- ✅ Automatically generate Schemes for **different environments** like test and production\n- ✅ Easily **create new projects** with complicated setups on demand without messing around with Xcode\n- ✅ Generate from anywhere including on **CI**\n- ✅ Distribute your spec amongst multiple files for easy **sharing** and overriding\n- ✅ Easily create **multi-platform** frameworks\n- ✅ Integrate **Carthage** frameworks without any work\n\nGiven an example project spec:\n\n```yaml\nname: MyProject\ninclude:\n  - base_spec.yml\noptions:\n  bundleIdPrefix: com.myapp\npackages:\n  Yams:\n    url: https:\u002F\u002Fgithub.com\u002Fjpsim\u002FYams\n    from: 2.0.0\ntargets:\n  MyApp:\n    type: application\n    platform: iOS\n    deploymentTarget: \"10.0\"\n    sources: [MyApp]\n    settings:\n      configs:\n        debug:\n          CUSTOM_BUILD_SETTING: my_debug_value\n        release:\n          CUSTOM_BUILD_SETTING: my_release_value\n    dependencies:\n      - target: MyFramework\n      - carthage: Alamofire\n      - framework: Vendor\u002FMyFramework.framework\n      - sdk: Contacts.framework\n      - sdk: libc++.tbd\n      - package: Yams\n  MyFramework:\n    type: framework\n    platform: iOS\n    sources: [MyFramework]\n```\nA project would be created with 2 connected targets, with all the required configurations and build settings. See the [Project Spec](Docs\u002FProjectSpec.md) documentation for all the options you can specify, and [Usage](Docs\u002FUsage.md) for more general documentation.\n\n## Installing\n\nMake sure the latest stable (non-beta) version of Xcode is installed first.\n\n### [Mint](https:\u002F\u002Fgithub.com\u002Fyonaskolb\u002Fmint)\n```sh\nmint install yonaskolb\u002Fxcodegen\n```\n\n### Make\n\n```shell\ngit clone https:\u002F\u002Fgithub.com\u002Fyonaskolb\u002FXcodeGen.git\ncd XcodeGen\nmake install\n```\n\n### Homebrew\n\n```shell\nbrew install xcodegen\n```\n\n### Swift Package Manager\n\n**Use as CLI**\n\n```shell\ngit clone https:\u002F\u002Fgithub.com\u002Fyonaskolb\u002FXcodeGen.git\ncd XcodeGen\nswift run xcodegen\n```\n\n**Use as dependency**\n\nAdd the following to your Package.swift file's dependencies:\n\n```swift\n.package(url: \"https:\u002F\u002Fgithub.com\u002Fyonaskolb\u002FXcodeGen.git\", from: \"2.45.4\"),\n```\n\nAnd then import wherever needed: `import XcodeGenKit`\n\n## Usage\n\nSimply run:\n\n```shell\nxcodegen generate\n```\n\nThis will look for a project spec in the current directory called `project.yml` and generate an Xcode project with the name defined in the spec.\n\nOptions:\n\n- **--spec**: An optional path to a `.yml` or `.json` project spec. Defaults to `project.yml`. (It is also possible to link to multiple spec files by comma separating them. Note that all other flags will be the same.)\n- **--project**: An optional path to a directory where the project will be generated. By default this is the directory the spec lives in.\n- **--quiet**: Suppress informational and success messages.\n- **--use-cache**: Used to prevent unnecessarily generating the project. If this is set, then a cache file will be written to when a project is generated. If `xcodegen` is later run but the spec and all the files it contains are the same, the project won't be generated.\n- **--cache-path**: A custom path to use for your cache file. This defaults to `~\u002F.xcodegen\u002Fcache\u002F{PROJECT_SPEC_PATH_HASH}`\n\nThere are other commands as well such as `xcodegen dump` which lets one output the resolved spec in many different formats, or write it to a file. Use `xcodegen help` to see more detailed usage information.\n\n## Editing\n```shell\ngit clone https:\u002F\u002Fgithub.com\u002Fyonaskolb\u002FXcodeGen.git\ncd XcodeGen\nswift package generate-xcodeproj\n```\nThis uses Swift Package Manager to create an `xcodeproj` file that you can open, edit and run in Xcode, which makes editing any code easier.\n\nIf you want to pass any required arguments when running in Xcode, you can edit the scheme to include launch arguments.\n\n## Documentation\n- See [Project Spec](Docs\u002FProjectSpec.md) documentation for all the various properties and options that can be set\n- See [Usage](Docs\u002FUsage.md) for more specific usage and use case documentation\n- See [FAQ](Docs\u002FFAQ.md) for a list of some frequently asked questions\n- See [Examples](Docs\u002FExamples.md) for some real world XcodeGen project specs out in the wild\n\n## Alternatives\nIf XcodeGen doesn't meet your needs try these great alternatives:\n- [Tuist](https:\u002F\u002Fgithub.com\u002Ftuist\u002Ftuist)\n- [Xcake](https:\u002F\u002Fgithub.com\u002Figor-makarov\u002Fxcake)\n- [struct](https:\u002F\u002Fgithub.com\u002Fworkshop\u002Fstruct)\n\n## Attributions\nThis tool is powered by:\n\n- [XcodeProj](https:\u002F\u002Fgithub.com\u002Ftuist\u002FXcodeProj)\n- [JSONUtilities](https:\u002F\u002Fgithub.com\u002Fyonaskolb\u002FJSONUtilities)\n- [Spectre](https:\u002F\u002Fgithub.com\u002Fkylef\u002FSpectre)\n- [PathKit](https:\u002F\u002Fgithub.com\u002Fkylef\u002FPathKit)\n- [Yams](https:\u002F\u002Fgithub.com\u002Fjpsim\u002FYams)\n- [SwiftCLI](https:\u002F\u002Fgithub.com\u002Fjakeheis\u002FSwiftCLI)\n\nInspiration for this tool came from:\n\n- [struct](https:\u002F\u002Fgithub.com\u002Fworkshop\u002Fstruct)\n- [Xcake](https:\u002F\u002Fgithub.com\u002Figor-makarov\u002Fxcake)\n- [CocoaPods Xcodeproj](https:\u002F\u002Fgithub.com\u002FCocoaPods\u002FXcodeproj)\n\n## Contributions\nPull requests and issues are always welcome. Please open any issues and PRs for bugs, features, or documentation.\n\n[![](https:\u002F\u002Fsourcerer.io\u002Ffame\u002Fyonaskolb\u002Fyonaskolb\u002FXcodeGen\u002Fimages\u002F0)](https:\u002F\u002Fsourcerer.io\u002Ffame\u002Fyonaskolb\u002Fyonaskolb\u002FXcodeGen\u002Flinks\u002F0)[![](https:\u002F\u002Fsourcerer.io\u002Ffame\u002Fyonaskolb\u002Fyonaskolb\u002FXcodeGen\u002Fimages\u002F1)](https:\u002F\u002Fsourcerer.io\u002Ffame\u002Fyonaskolb\u002Fyonaskolb\u002FXcodeGen\u002Flinks\u002F1)[![](https:\u002F\u002Fsourcerer.io\u002Ffame\u002Fyonaskolb\u002Fyonaskolb\u002FXcodeGen\u002Fimages\u002F2)](https:\u002F\u002Fsourcerer.io\u002Ffame\u002Fyonaskolb\u002Fyonaskolb\u002FXcodeGen\u002Flinks\u002F2)[![](https:\u002F\u002Fsourcerer.io\u002Ffame\u002Fyonaskolb\u002Fyonaskolb\u002FXcodeGen\u002Fimages\u002F3)](https:\u002F\u002Fsourcerer.io\u002Ffame\u002Fyonaskolb\u002Fyonaskolb\u002FXcodeGen\u002Flinks\u002F3)[![](https:\u002F\u002Fsourcerer.io\u002Ffame\u002Fyonaskolb\u002Fyonaskolb\u002FXcodeGen\u002Fimages\u002F4)](https:\u002F\u002Fsourcerer.io\u002Ffame\u002Fyonaskolb\u002Fyonaskolb\u002FXcodeGen\u002Flinks\u002F4)[![](https:\u002F\u002Fsourcerer.io\u002Ffame\u002Fyonaskolb\u002Fyonaskolb\u002FXcodeGen\u002Fimages\u002F5)](https:\u002F\u002Fsourcerer.io\u002Ffame\u002Fyonaskolb\u002Fyonaskolb\u002FXcodeGen\u002Flinks\u002F5)[![](https:\u002F\u002Fsourcerer.io\u002Ffame\u002Fyonaskolb\u002Fyonaskolb\u002FXcodeGen\u002Fimages\u002F6)](https:\u002F\u002Fsourcerer.io\u002Ffame\u002Fyonaskolb\u002Fyonaskolb\u002FXcodeGen\u002Flinks\u002F6)[![](https:\u002F\u002Fsourcerer.io\u002Ffame\u002Fyonaskolb\u002Fyonaskolb\u002FXcodeGen\u002Fimages\u002F7)](https:\u002F\u002Fsourcerer.io\u002Ffame\u002Fyonaskolb\u002Fyonaskolb\u002FXcodeGen\u002Flinks\u002F7)\n\n## License\n\nXcodeGen is licensed under the MIT license. See [LICENSE](LICENSE) for more info.\n","XcodeGen 是一个用 Swift 编写的命令行工具，用于根据你的文件夹结构和项目规范生成 Xcode 项目。它支持通过 YAML 或 JSON 文件定义项目的 target、配置、scheme 和自定义构建设置等，并自动解析所有源目录以保持文件夹结构的一致性。XcodeGen 提供了诸如动态生成项目、同步文件和目录、易于配置且对 Git 友好的项目设置、跨多个目标共享构建设置等功能，特别适用于需要频繁更新项目结构或在 CI 环境下自动化构建的复杂项目场景。此外，它还简化了多平台框架的创建过程以及 Carthage 框架的集成工作。",2,"2026-06-11 03:08:35","top_language"]