[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7980":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":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":27,"discoverSource":28},7980,"Xcodeproj","CocoaPods\u002FXcodeproj","CocoaPods","Create and modify Xcode projects from Ruby.","http:\u002F\u002Frubygems.org\u002Fgems\u002Fxcodeproj",null,"Ruby",2435,486,44,167,0,2,60.26,"MIT License",false,"master",true,[],"2026-06-12 04:00:36","# Xcodeproj\n\n[![Build Status](https:\u002F\u002Fgithub.com\u002FCocoaPods\u002FXcodeproj\u002Fworkflows\u002FSpecs\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FCocoaPods\u002FXcodeproj\u002Factions\u002Fworkflows\u002FSpecs.yml)\n[![Maintainability](https:\u002F\u002Fapi.codeclimate.com\u002Fv1\u002Fbadges\u002F40ae104586c859d3581e\u002Fmaintainability)](https:\u002F\u002Fcodeclimate.com\u002Fgithub\u002FCocoaPods\u002FXcodeproj\u002Fmaintainability)\n[![Test Coverage](https:\u002F\u002Fapi.codeclimate.com\u002Fv1\u002Fbadges\u002F40ae104586c859d3581e\u002Ftest_coverage)](https:\u002F\u002Fcodeclimate.com\u002Fgithub\u002FCocoaPods\u002FXcodeproj\u002Ftest_coverage)\n\nXcodeproj lets you create and modify Xcode projects from [Ruby][ruby].\nScript boring management tasks or build Xcode-friendly libraries. Also includes\nsupport for Xcode workspaces (`.xcworkspace`), configuration files (`.xcconfig`) and\nXcode Scheme files (`.xcscheme`).\n\nIt is used in [CocoaPods](https:\u002F\u002Fgithub.com\u002FCocoaPods\u002FCocoaPods) to create a\ncollection of supplemental libraries or frameworks, for all platforms Xcode supports.\n\nThe API reference can be found [here](http:\u002F\u002Fwww.rubydoc.info\u002Fgems\u002Fxcodeproj).\n\n## Installing Xcodeproj\n\nXcodeproj itself installs through RubyGems, the Ruby package manager. Install it\nby performing the following command:\n\n    $ [sudo] gem install xcodeproj\n\n## Quickstart\n\nTo begin editing an xcodeproj file start by opening it as an Xcodeproj with:\n\n```ruby\nrequire 'xcodeproj'\nproject_path = '\u002Fyour_path\u002Fyour_project.xcodeproj'\nproject = Xcodeproj::Project.open(project_path)\n```\n\n#### Some Small Examples To Get You Started\n\n> Look through all targets\n\n```ruby\nproject.targets.each do |target|\n  puts target.name\nend\n```\n\n> Get all source files for a target\n\n```ruby\ntarget = project.targets.first\nfiles = target.source_build_phase.files.to_a.map do |pbx_build_file|\n\tpbx_build_file.file_ref.real_path.to_s\n\nend.select do |path|\n  path.end_with?(\".m\", \".mm\", \".swift\")\n\nend.select do |path|\n  File.exists?(path)\nend\n```\n\n> Set a specific build configuration to all targets\n\n```ruby\nproject.targets.each do |target|\n  target.build_configurations.each do |config|\n    config.build_settings['MY_CUSTOM_FLAG'] ||= 'TRUE'\n  end\nend\nproject.save\n```\n\n## Command Line Tool\n\nInstalling the Xcodeproj gem will also install a command-line tool `xcodeproj` which you can\nuse to generate project diffs, target diffs, output all configurations and show a YAML representation.\n\nFor more information consult `xcodeproj --help`.\n\n## Collaborate\n\nAll Xcodeproj development happens on [GitHub][xcodeproj]. Contributing patches\nis really easy and gratifying.\n\nFollow [@CocoaPods][twitter] to get up to date information about what's\ngoing on in the CocoaPods world.\n\n\n## LICENSE\n\nThese works are available under the MIT license. See the [LICENSE][license] file\nfor more info.\n\n[twitter]: http:\u002F\u002Ftwitter.com\u002FCocoaPods\n[ruby]: http:\u002F\u002Fwww.ruby-lang.org\u002Fen\u002F\n[xcodeproj]: https:\u002F\u002Fgithub.com\u002Fcocoapods\u002Fxcodeproj\n[tickets]: https:\u002F\u002Fgithub.com\u002Fcocoapods\u002Fxcodeproj\u002Fissues\n[license]: LICENSE\n","Xcodeproj 是一个用 Ruby 编写的工具，用于创建和修改 Xcode 项目。它支持通过脚本自动化管理任务或构建 Xcode 友好的库，并且兼容 Xcode 工作区、配置文件以及 Scheme 文件。作为 CocoaPods 的一部分，Xcodeproj 能够为所有 Xcode 支持的平台创建辅助库或框架集合。适用于需要批量处理 Xcode 项目设置、维护大型代码库或频繁更新项目配置的场景。用户可以通过 RubyGems 安装该工具，并利用其提供的 API 进行项目操作。此外，Xcodeproj 还提供了一个命令行工具，方便开发者生成项目差异、输出配置信息等。","2026-06-11 03:15:29","top_language"]