{"id":17321701,"url":"https://github.com/ronnnnn/asdf-cocoapods","last_synced_at":"2025-04-14T15:55:03.102Z","repository":{"id":153726090,"uuid":"630212471","full_name":"ronnnnn/asdf-cocoapods","owner":"ronnnnn","description":"CocoaPods plugin for the asdf version manager","archived":false,"fork":false,"pushed_at":"2024-09-24T01:59:04.000Z","size":15,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T00:46:26.035Z","etag":null,"topics":["asdf","asdf-plugin","cocoapods"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/ronnnnn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"contributing.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["ronnnnn"]}},"created_at":"2023-04-19T22:56:17.000Z","updated_at":"2025-02-20T09:37:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"f7f88ca4-0254-4fa5-831e-a4b12f56986f","html_url":"https://github.com/ronnnnn/asdf-cocoapods","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":"asdf-vm/asdf-plugin-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronnnnn%2Fasdf-cocoapods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronnnnn%2Fasdf-cocoapods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronnnnn%2Fasdf-cocoapods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronnnnn%2Fasdf-cocoapods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ronnnnn","download_url":"https://codeload.github.com/ronnnnn/asdf-cocoapods/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248912278,"owners_count":21182245,"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":["asdf","asdf-plugin","cocoapods"],"created_at":"2024-10-15T13:39:06.527Z","updated_at":"2025-04-14T15:55:03.077Z","avatar_url":"https://github.com/ronnnnn.png","language":"Shell","funding_links":["https://github.com/sponsors/ronnnnn"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# asdf-cocoapods [![Build](https://github.com/ronnnnn/asdf-cocoapods/actions/workflows/build.yml/badge.svg)](https://github.com/ronnnnn/asdf-cocoapods/actions/workflows/build.yml) [![Lint](https://github.com/ronnnnn/asdf-cocoapods/actions/workflows/lint.yml/badge.svg)](https://github.com/ronnnnn/asdf-cocoapods/actions/workflows/lint.yml)\n\n[cocoapods](https://cocoapods.org) plugin for the [asdf version manager](https://asdf-vm.com).\n\n\u003c/div\u003e\n\n# Contents\n\n- [Dependencies](#dependencies)\n- [Install](#install)\n- [Contributing](#contributing)\n- [License](#license)\n\n# Dependencies\n\n- `bash`, `curl`, `tar`: generic POSIX utilities.\n- [Ruby](https://www.ruby-lang.org/en/) (\u003e= 1.9)\n  - [RubyGems](https://rubygems.org/?locale=en): manage Ruby packages.\n- [Bundler](https://bundler.io): make downloaded cocoapods binary executable.\n\n## Recommendation\n\nUse Ruby and Bundler installed via asdf.\n\n- [asdf-vm/asdf-ruby](https://github.com/asdf-vm/asdf-ruby)\n- [jonathanmorley/asdf-bundler](https://github.com/jonathanmorley/asdf-bundler)\n\n# Install\n\nPlugin:\n\n```shell\nasdf plugin add cocoapods\n# or\nasdf plugin add cocoapods https://github.com/ronnnnn/asdf-cocoapods.git\n```\n\ncocoapods:\n\n```shell\n# Show all installable versions\nasdf list-all cocoapods\n\n# Install specific version\nasdf install cocoapods latest\n\n# Set a version globally (on your ~/.tool-versions file)\nasdf global cocoapods latest\n\n# Now cocoapods commands are available\npod --version\n```\n\nCheck [asdf](https://github.com/asdf-vm/asdf) readme for more instructions on how to\ninstall \u0026 manage versions.\n\n# Troubleshooting\n\n## Incompatibility Errors After Updating Ruby\n\nIf you encounter errors like the following after updating your Ruby version and running `pod`, it's likely due to a dependency mismatch:\n\n```\n~/.asdf/installs/cocoapods/1.15.2/vendor/bundle/ruby/3.3.0/gems/bigdecimal-3.1.4/lib/bigdecimal.rb:4:in `require': linked to incompatible ~/.asdf/installs/ruby/3.3.3/lib/libruby.3.3.dylib - ~/.asdf/installs/cocoapods/1.15.2/vendor/bundle/ruby/3.3.0/gems/bigdecimal-3.1.4/lib/bigdecimal.bundle (LoadError)\n```\n\nCocoaPods uses Bundler to manage its dependencies. When you change Ruby versions, you need to redownload these dependencies to ensure compatibility.\n\n### Resolution\n\n1. Set global Ruby version to your project's Ruby version:\n\n```bash\nasdf global ruby {version}  # Replace {version} with your project's Ruby version\n```\n\n2. Navigate to your CocoaPods installation directory:\n\n```bash\ncd ~/.asdf/installs/cocoapods/{version}  # Replace {version} with your installed version\n```\n\n3. Redownload and reinstall the dependencies:\n\n```bash\nbundle install --redownload\n```\n\nNow you should be able to run `pod` commands without errors.\n\nIf you still encounter issues, try reinstalling Ruby, Bundler, and CocoaPods.\nSee also: https://github.com/ronnnnn/asdf-cocoapods/issues/7#issuecomment-1962783967\n\n# Contributing\n\nContributions of any kind welcome! See the [contributing guide](contributing.md).\n\n[Thanks goes to these contributors](https://github.com/ronnnnn/asdf-cocoapods/graphs/contributors)!\n\n# License\n\nSee [LICENSE](LICENSE) © [Seiya Kokushi](https://github.com/ronnnnn/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fronnnnn%2Fasdf-cocoapods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fronnnnn%2Fasdf-cocoapods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fronnnnn%2Fasdf-cocoapods/lists"}