CocoaPods / CocoaPods/Xcodeproj

classes are incompatible with `pp`

Open Beginner friendly
#1,021 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
2.4k
Forks
488
PR merge metrics
No merged PRs in 30d

Description

According to the docs:

#pretty_print takes the pp argument, which is an instance of the PP class

but the method doesn't have such param (I guess there're more occurrences, haven't checked them all):

https://github.com/CocoaPods/Xcodeproj/blob/ab3dfa504b5a97cae3a653a8924f4616dcaa062e/lib/xcodeproj/project.rb#L335

https://github.com/CocoaPods/Xcodeproj/blob/ab3dfa504b5a97cae3a653a8924f4616dcaa062e/lib/xcodeproj/project/object/native_target.rb#L417

Reproduction (via Cocoapods):

post_install do |installer|
  pp installer
end

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the #pretty_print definitions in lib/xcodeproj/project.rb and lib/xcodeproj/project/object/native_target.rb at the linked revisions, then compare their signatures with the PP documentation. Reproduce the post_install example from the issue and confirm that the documented pp argument is accepted consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.