{"id":13995286,"url":"https://github.com/jeffctown/xcframework","last_synced_at":"2025-07-22T21:32:35.339Z","repository":{"id":63912550,"uuid":"190885827","full_name":"jeffctown/xcframework","owner":"jeffctown","description":"A simple tool to create an XCFramework","archived":true,"fork":false,"pushed_at":"2020-10-19T01:51:59.000Z","size":22,"stargazers_count":74,"open_issues_count":1,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-30T17:16:43.733Z","etag":null,"topics":["swift","swift5","xcframework","xcframeworks","xcode11"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/jeffctown.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-08T12:34:05.000Z","updated_at":"2024-10-07T14:54:53.000Z","dependencies_parsed_at":"2023-01-14T13:16:00.792Z","dependency_job_id":null,"html_url":"https://github.com/jeffctown/xcframework","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffctown%2Fxcframework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffctown%2Fxcframework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffctown%2Fxcframework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffctown%2Fxcframework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeffctown","download_url":"https://codeload.github.com/jeffctown/xcframework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227177885,"owners_count":17743194,"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","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":["swift","swift5","xcframework","xcframeworks","xcode11"],"created_at":"2024-08-09T14:03:20.171Z","updated_at":"2024-11-29T17:31:24.406Z","avatar_url":"https://github.com/jeffctown.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":[],"readme":"# xcframework\n\n[![Swift Version](https://img.shields.io/badge/Swift-5.1-orange.svg?style=for-the-badge)](https://swift.org)\n[![GitHub release](https://img.shields.io/github/release/jeffctown/xcframework.svg?style=for-the-badge)](https://github.com/jeffctown/xcframework/releases)\n[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg?style=for-the-badge)](https://raw.githubusercontent.com/jeffctown/xcframework/master/LICENSE.md) \n\nxcframework is a tool to create XCFrameworks.\n\n## Installation\n\n### Using a pre-built package:\n\nYou can install xcframework by downloading `xcframework.pkg` from the\n[latest GitHub release](https://github.com/jeffctown/xcframework/releases/latest) and\nrunning it.\n\n### Installing from source:\n\nYou can also install from source by cloning this project and running\n`make install` (Xcode 11.0 beta 1 or later).  Note: Running `make install` requires sudo permission to install the final executable. \n\n### Compiling from source:\n\nYou can build from source and use the executable without installation if you prefer to.  Run `make installables` to output the final executable to `./.build/release/xcframework`.  Feel free to use or copy the executable how you like.\n\n## Quick Start\n\n* Create an XCFramework including a framework with iOS, tvOS, and watchOS:\n\n```bash\nxcframework build --project PMLog/PMLog.xcodeproj --name PMLog --ios PMLog_iOS --tvos PMLog_TvOS --watchos PMLog_WatchOS\n```\n\n## Usage\n\n\n### Help\n\n```\n$ xcframework help\nAvailable commands:\n\n   build     Build an XCFramework\n   help      Display general or command-specific help\n   version   Display the current version of xcframework\n```\n\n### Build\n\n\n#### Build with Verbose Logging Enabled\n\n```bash\nxcframework build --project PMLog/PMLog.xcodeproj --name PMLog --ios PMLog_iOS --tvos PMLog_TvOS --watchos PMLog_WatchOS --verbose\n```\n\n#### Build with Output Directory Specified\n\n```bash\nxcframework build --project PMLog/PMLog.xcodeproj --name PMLog --ios PMLog_iOS --tvos PMLog_TvOS --watchos PMLog_WatchOS --output ./output\n```\n\n#### Build with Build Directory Specified\n\n```bash\nxcframework build --project PMLog/PMLog.xcodeproj --name PMLog --ios PMLog_iOS --tvos PMLog_TvOS --watchos PMLog_WatchOS --build ./build\n```\n\n#### Build with Extra xcodebuild Arguments\n\nAny arguments at the end of your command will be passed along to `xcodebuild` during archive.\n\n```bash\nxcframework build --project PMLog/PMLog.xcodeproj --name PMLog --ios PMLog_iOS DEBUG=1 PERFORM_MAGIC=0\n```\n\n\n## Known Issues\n\nIf you need to pass an xcodebuild argument that begins with a `-`, like `-configuration Release`, you will need to put a `--` before it.  `--` tells this program (or tells [Commandant](https://github.com/Carthage/Commandant/issues/59)) to stop looking for named arguments.\n\nWithout `--`:\n\n```bash\n$ xcframework build --project PMLog/PMLog.xcodeproj --name PMLog --ios PMLog_iOS -configuration Release\nUnrecognized arguments: -configurat\n```\n\nWith `--`:\n\n```bash\nxcframework build --project PMLog/PMLog.xcodeproj --name PMLog --ios PMLog_iOS -- -configuration Release\n```\n\n```bash\nxcframework build --project PMLog/PMLog.xcodeproj --name PMLog --ios PMLog_iOS -- -enableAddressSanitizer YES\n```\n\n\n## License\n\nxcframework is released under the [MIT license](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffctown%2Fxcframework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffctown%2Fxcframework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffctown%2Fxcframework/lists"}