{"id":27371470,"url":"https://github.com/vincentcatillon/xcoderc","last_synced_at":"2025-10-24T04:46:08.941Z","repository":{"id":34775129,"uuid":"182293072","full_name":"VincentCATILLON/xcoderc","owner":"VincentCATILLON","description":":pencil2::hammer: Used to lock, check and use Xcode version in your project.","archived":false,"fork":false,"pushed_at":"2022-12-08T23:50:11.000Z","size":4004,"stargazers_count":2,"open_issues_count":17,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-10T13:27:48.232Z","etag":null,"topics":["check","lock","use","version","xcode","xcode-select","xcodebuild","xcoderc"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/xcoderc","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VincentCATILLON.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-19T16:20:30.000Z","updated_at":"2023-03-14T23:10:07.000Z","dependencies_parsed_at":"2023-01-15T09:15:45.206Z","dependency_job_id":null,"html_url":"https://github.com/VincentCATILLON/xcoderc","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/VincentCATILLON/xcoderc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VincentCATILLON%2Fxcoderc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VincentCATILLON%2Fxcoderc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VincentCATILLON%2Fxcoderc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VincentCATILLON%2Fxcoderc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VincentCATILLON","download_url":"https://codeload.github.com/VincentCATILLON/xcoderc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VincentCATILLON%2Fxcoderc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280742567,"owners_count":26382923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["check","lock","use","version","xcode","xcode-select","xcodebuild","xcoderc"],"created_at":"2025-04-13T09:40:43.138Z","updated_at":"2025-10-24T04:46:08.894Z","avatar_url":"https://github.com/VincentCATILLON.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003cimg height=\"256\" src=\"https://github.com/VincentCATILLON/xcoderc/raw/master/.github/logo.png\" alt=\"xcoderc\"\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ci\u003eSwitching between iOS/MacOS projects \u003cbr\u003ethat use different Xcode versions won't by painful anymore.\u003c/i\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n\n[![CircleCI](https://circleci.com/gh/VincentCATILLON/xcoderc.svg?style=shield)](https://circleci.com/gh/VincentCATILLON/xcoderc)\n[![codecov](https://codecov.io/gh/VincentCATILLON/xcoderc/branch/master/graph/badge.svg?token=aiXSI86rRD)](https://codecov.io/gh/VincentCATILLON/xcoderc)\n[![types](https://img.shields.io/npm/types/xcoderc.svg?color=e8bd36)](https://flow.org)\n[![code style](https://img.shields.io/badge/code_style-eslint-463fd4.svg)](https://eslint.org/)\n[![version](https://img.shields.io/npm/v/xcoderc.svg?color=cb3837)](https://www.npmjs.com/package/xcoderc)\n\n## Installation\n\n```console\nnpm install --save-dev xcoderc\n# or\nyarn add --dev xcoderc\n```\n\n## Init\n\nYou need a `.xcoderc` file on your project root to lock the Xcode version.\n\n```console\n$ npx xcoderc init\n```\n\nFor your information, the file content should look like: `9.4`\n\n_**Note**: This will create a .xcoderc file with your current Xcode version_\n\n## Usage\n\n\u003cimg src=\"https://github.com/VincentCATILLON/xcoderc/raw/master/.github/terminal.png\" alt=\"xcoderc\"\u003e\n\n---\n\n##### Check\n\nTo automatize the Xcode version check, you can use it in your `package.json`, ie:\n\n```json\n{\n  \"postinstall\": \"xcoderc\"\n}\n```\n\nor you can add it before your iOS build command, ie:\n\n```json\n{\n  \"prebuild:ios\": \"xcoderc\",\n  \"build:ios\": \"xcodebuild\"\n}\n```\n\nor any script used to build your app, for example [Fastlane](https://fastlane.tools) (with [fastlane-plugin-yarn](https://github.com/joshrlesch/fastlane-plugin-yarn) plugin):\n\n```ruby\nplatform :ios do\n  before_all do\n    # Define a command in your package.json like:\n    # {\n    #   \"xcode:check\": \"xcoderc\"\n    # }\n    yarn(command: 'xcode:check', package_path: '../package.json')\n  end\nend\n```\n\n---\n\n##### Use\n\nTo use the version specified in your `.xcoderc` file:\n\n```console\n$ [sudo] npx xcoderc use\n```\n\n_**Note**: This commands needs to be root._\n\n## Example versions (not exhaustive)\n\n- 9\n- 9.0.1\n- 9.1\n- 9.2\n- 9.3\n- 9.3.1\n- 9.4\n- 9.4.1\n- 10\n- 10.1\n- 10.2\n- 10.2.1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvincentcatillon%2Fxcoderc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvincentcatillon%2Fxcoderc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvincentcatillon%2Fxcoderc/lists"}