{"id":16065032,"url":"https://github.com/muukii/cocoapods-frost","last_synced_at":"2025-10-22T12:31:25.452Z","repository":{"id":44643601,"uuid":"453034503","full_name":"muukii/cocoapods-frost","owner":"muukii","description":"📦 A plugin for CocoaPods that creates XCFramework(for internal distribution) for speeding up build time.","archived":true,"fork":false,"pushed_at":"2022-02-04T17:43:58.000Z","size":79,"stargazers_count":27,"open_issues_count":9,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-27T15:49:37.823Z","etag":null,"topics":["binary","cocoapods","cocoapods-binary","cocoapods-plugin","pod","xcframework"],"latest_commit_sha":null,"homepage":"","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/muukii.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"muukii"}},"created_at":"2022-01-28T10:59:28.000Z","updated_at":"2024-08-01T07:29:29.000Z","dependencies_parsed_at":"2022-09-13T11:50:19.187Z","dependency_job_id":null,"html_url":"https://github.com/muukii/cocoapods-frost","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muukii%2Fcocoapods-frost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muukii%2Fcocoapods-frost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muukii%2Fcocoapods-frost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muukii%2Fcocoapods-frost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muukii","download_url":"https://codeload.github.com/muukii/cocoapods-frost/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237689187,"owners_count":19350906,"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":["binary","cocoapods","cocoapods-binary","cocoapods-plugin","pod","xcframework"],"created_at":"2024-10-09T05:10:44.126Z","updated_at":"2025-10-22T12:31:20.138Z","avatar_url":"https://github.com/muukii.png","language":"Ruby","funding_links":["https://github.com/sponsors/muukii","https://www.buymeacoffee.com/muukii"],"categories":[],"sub_categories":[],"readme":"# cocoapods-frost\n\nA plugin for [CocoaPods](https://cocoapods.org/) that creates XCFramework(for internal distribution) for speeding up build time.\n\n\u003e 🚜 Still working on development, but partially works\n\n**Alternatives**\n- [coocapods-binary](https://github.com/leavez/cocoapods-binary)\n- [PodBuilder](https://github.com/Subito-it/PodBuilder)\n- [Rugby](https://github.com/swiftyfinch/Rugby)\n\n## Support this project\n\nIf you are interested in this project or you need\n- Hit the ⭐️ button to make this project popular.\n- Becoming sponsorship in subscription or one-time.\n\n\u003ca href=\"https://www.buymeacoffee.com/muukii\"\u003e\n\u003cimg width=\"230\" alt=\"yellow-button\" src=\"https://user-images.githubusercontent.com/1888355/146226808-eb2e9ee0-c6bd-44a2-a330-3bbc8a6244cf.png\"\u003e\n\u003c/a\u003e\n\n## Features\n\n- Supports static or dynamic by `use_frameworks! :linkage =\u003e :static`\n- Supports coexisting in source code and frameworks\n\n## known Issues\n\nManaged in [issues](https://github.com/muukii/cocoapods-frost/issues)\n\n- Supports only iOS currently\n- some pods fails build\n  - especially, already provided as framework\n  - if you found such pod, please report it from [issues](https://github.com/muukii/cocoapods-frost/issues)\n- Does not create xcframework for implicit dependencies from a pod\n  - Make it explicit using `frost_pod`.\n  - For instance, `frost_pod 'Alamofire'` for `frost_pod 'Moya'`\n- Multiple specifying pods with `pod` and `frost_pod`\n  - Do not use `pod` and `frost_pod` in different target. Please use either one.\n- Not inherited current install version in pod\n  - Specify install version (e.g. `pod 'some', \"1.2.0\"`)\n- [Not supported yet building pod that has resource](https://github.com/muukii/cocoapods-frost/issues/7)\n\n## Attention\n\n- Should build all of targets when pod updated - partially building might causes linking error (compile-time or dynamic-linking-time)\n  - Future updates, completely isolated pods can be build partially. \n\n## How it works\n\n- Defines pod by `frost_pod` that creates XCFramework.\n- Builds and creates XCFramework with `-allow-internal-distribution` from build settings CocoaPods generated.\n- Generates a `podspec.json` that installs XCFramework as `vendored_frameworks`\n- `frost_pod` uses that generated podspec as a local pod. which installs XCFramework instead of sources.\n\n## Making XCFrameworks\n\nMake bundler installs `cocoapods-frost`\n\n`Gemfile`\n```\ngem 'cocoapods-frost', git: \"https://github.com/muukii/cocoapods-frost.git\", branch: \"main\"\n```\n\nAnnotate Podfile that uses `cocoapods-frost` as plugin\n\n`Podfile`\n```ruby\nplugin \"cocoapods-frost\"\n```\n\nSpecifies pods with `pod_frost` that needs to create XCFramework.  \nStill, using `pod` can be left to build from source code.\n\n`Podfile`\n```ruby\nfrost_pod \"Moya\"\nfrost_pod \"MondrianLayout\"\n\npod \"JAYSON\"\n```\n\nBuild XCFrameworks\n\n```sh\n$ bundle exec pod frost\n```\n\nThen\n\n```sh\n$ bundle exec pod install\n```\n\n## Updating pods\n\nUse `--update-pods` to update pods\n\n```shell\n$ bundle exec pod frost --update-pods=RxSwift\n```\n\n## Directory structure\n\n- Repository\n  - Podfile\n  - Podfile.lock\n  - FrostPodfile.lock `cocoapods-frost` creates, should be managed in git\n  - Pods\n  - FrostPods \u003c- `cocoapods-frost` creates\n    - GeneratedPods (should be managed in git, git-lfs, something else)\n\n## About subspecs\n\nCocoaPods integrates multiple subspecs into one module.  \nGenerated XCFramework contains all of subspecs specified in Podfile.\n\nFor instance,\n\nhttps://github.com/Moya/Moya/blob/master/Moya.podspec\n\n```ruby\nfrost_pod \"Moya/Core\"\nfrost_pod \"Moya/Combine\"\n```\nthat creates `Moya.xcframework` includes core implementation and combine supports.\n\nSo `frost_pod` specifies as whole pod with dropping subspec specifiers.\n\n## Development\n\nIt supports debugging in VSCode.\n\n## License\n\nMIT\n\n## Author\n\n- [Hiroshi Kimura (Muukii)](https://github.com/muukii)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuukii%2Fcocoapods-frost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuukii%2Fcocoapods-frost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuukii%2Fcocoapods-frost/lists"}