CocoaPods / CocoaPods/pod-template

pod --version ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require': cannot load such file -- xcodeproj (LoadError)

Open
#271 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
394
Forks
391
PR merge metrics
No merged PRs in 30d

Description

What did I do?
`pod --version `

What happened instead?
`/opt/homebrew/Cellar/ruby/3.4.4/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require': cannot load such file -- xcodeproj (LoadError)
from /opt/homebrew/Cellar/ruby/3.4.4/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/cocoapods-1.16.2/lib/cocoapods.rb:2:in ''
from /opt/homebrew/Cellar/ruby/3.4.4/lib/ruby/3.4.0/bundled_gems.rb:82:in 'Kernel.require'
from /opt/homebrew/Cellar/ruby/3.4.4/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in Kernel#replace_require'
from /opt/homebrew/lib/ruby/gems/3.4.0/gems/cocoapods-1.16.2/bin//pod:36:in ''`

help ~~

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `pod --version` with the Ruby 3.4 environment shown in the report, then inspect the `cocoapods.rb` load path referenced in the stack trace. Done means the command runs without the `xcodeproj` LoadError.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.