{"id":16812056,"url":"https://github.com/radex/configure_extensions","last_synced_at":"2025-10-05T22:48:38.441Z","repository":{"id":47692848,"uuid":"64123608","full_name":"radex/configure_extensions","owner":"radex","description":"Automatically enable/disable app extensions from Xcode build","archived":false,"fork":false,"pushed_at":"2021-08-17T19:58:32.000Z","size":9,"stargazers_count":24,"open_issues_count":2,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-21T12:43:23.702Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://radex.io/xcode7-xcode8/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/radex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-25T09:57:26.000Z","updated_at":"2024-01-26T15:59:15.000Z","dependencies_parsed_at":"2022-09-13T11:01:01.363Z","dependency_job_id":null,"html_url":"https://github.com/radex/configure_extensions","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/radex/configure_extensions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radex%2Fconfigure_extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radex%2Fconfigure_extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radex%2Fconfigure_extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radex%2Fconfigure_extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/radex","download_url":"https://codeload.github.com/radex/configure_extensions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radex%2Fconfigure_extensions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278532358,"owners_count":26002346,"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-05T02:00:06.059Z","response_time":54,"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":[],"created_at":"2024-10-13T10:20:32.674Z","updated_at":"2025-10-05T22:48:38.423Z","avatar_url":"https://github.com/radex.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# configure_extensions\n\n[![RubyGems](https://img.shields.io/gem/v/configure_extensions.svg)](https://rubygems.org/gems/configure_extensions)\n\n#### Automatically enable/disable app extensions from Xcode build\n###### Keep your project compiling on multiple versions of Xcode by removing incompatible app extensions from the build\n\nRead [Simultaneous Xcode 7 and Xcode 8 compatibility](http://radex.io/xcode7-xcode8/) for more information about this project.\n\n-------\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e \u0026bull;\n    \u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e \u0026bull;\n    \u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e \u0026bull; \n    \u003ca href=\"#more-like-this\"\u003eMore info\u003c/a\u003e\n\u003c/p\u003e\n-------\n\n## Features\n\nSay you have an iOS app. You want to add some iOS 10 app extensions to the project, but you still need to build for iOS 9, and you want to avoid branching. You [configure your project just right](http://radex.io/xcode7-xcode8/) to allow this, but what do you do with app extensions that only compile with Xcode 8?\n\nSimple! You remove them from the \"Target Dependencies\" and \"Embed App Extensions\" build phases of the app target before you commit:\n\n~~~\nconfigure_extensions remove MyApp.xcodeproj MyAppTarget NotificationsUI Intents\n~~~\n\nThis keeps Xcode 7 compatibility. Want to work on iOS 10 features? Add them back in an instant:\n\n~~~\nconfigure_extensions add MyApp.xcodeproj MyAppTarget NotificationsUI Intents\n~~~\n\nNo branching necessary.\n\n(You can also use `configure_extensions` to add a \"fast mode\" to your automated build server that skips compilation of unnecessary app extensions)\n\n## Usage\n\nHere's full syntax of the tool:\n\n~~~\nconfigure_extensions \u003cmode\u003e \u003cproject\u003e \u003capp_target\u003e \u003cextensions...\u003e\n\nAdd and remove app extensions from Xcode build\n\nmode\n   add    - enables passed app extension targets\n   remove - disables extensions from being built and embedded in the app\n\nproject\n   path to the Xcode project file\n\napp_target\n   name of the main (app) target in which extensions are to be enabled/disabled\n\nextensions\n   names of app extension targets to be enabled/disabled\n\nEXAMPLES\n\nconfigure_extensions add MyApp.xcodeproj MyApp NotificationsUI Share\nconfigure_extensions remove Foo.xcodeproj Foo-iOS Share\n~~~\n\n## Installation\n\n~~~\nsudo gem install configure_extensions\n~~~\n\n## More like this\n\nIf you like `configure_extensions`, be sure to check out [\"Simultaneous Xcode 7 and Xcode 8 compatibility\"](http://radex.io/xcode7-xcode8/) where I explain in detail how to keep a single Xcode project running on multiple versions of Xcode without branching.\n\nAnd if you're into Swift, you might also like [SwiftyUserDefaults](https://github.com/radex/SwiftyUserDefaults) and [SwiftyTimer](https://github.com/radex/SwiftyTimer).\n\n### Contributing\n\nIf you have comments, complaints or ideas for improvements, feel free to open an issue or a pull request. Or [ping me on Twitter](http://twitter.com/radexp).\n\n### Author and license\n\nRadek Pietruszewski\n\n* [github.com/radex](http://github.com/radex)\n* [twitter.com/radexp](http://twitter.com/radexp)\n* [radex.io](http://radex.io)\n* this.is@radex.io\n\n`configure_extensions` is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradex%2Fconfigure_extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradex%2Fconfigure_extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradex%2Fconfigure_extensions/lists"}