Subspec Names Printed Incorrectly during Local Install in 0.14.0.rc1 #485

Closed
blakewatters opened this Issue Aug 28, 2012 · 4 comments

Comments

Projects
None yet
3 participants
Contributor

blakewatters commented Aug 28, 2012

I am installing RestKIt into a project from a submodule using the :local option. The podpsec defines two top level dependencies: RestKit/JSON and RestKit/XML. The installation is proceeding with the RestKit/JSON subspec. This pulls in several additional subspecs as dependencies.

During installation, Cocopods outputs the name of the top level RestKit/JSON dependency several times instead of the real names of the dependent subspecs:

Installing RestKit/JSON (0.20.0)
Installing RestKit/JSON (0.20.0)
Installing RestKit/JSON (0.20.0)
Installing RestKit/JSON (0.20.0)
Installing RestKit/JSON (0.20.0)
Installing RestKit/JSON (0.20.0)
Installing RestKit/JSON (0.20.0)
Installing RKTableController (0.5.0) [LOCAL]

Also note that it does mention that the installation is proceeding locally (as shown with the install of the simple RKTableController pod that does not use any subspecs).

Owner

alloy commented Aug 29, 2012

Hey Blake,

The meaning of your last sentence isn’t completely clear to me. Do you mean that it does work correctly and that the only issue is that the name is printed multiple times? (I think it should be printing the various subspecs.)

Contributor

blakewatters commented Aug 29, 2012

Hi Eloy -

Sorry for the ambiguity. The installation of RestKit was also done using a local pod in a submodule, but the installer failed to output this fact. The output I would expect/desire would for this installation would be:

Installing RestKit (0.20.0) [LOCAL]
  Installing RestKit/JSON (0.20.0)
    Installing RestKit/Network (0.20.0)
    Installing RestKit/ObjectMapping (0.20.0)
    Installing RestKit/CoreData (0.20.0)
    Installing RestKit/Support (0.20.0)
    Installing RestKit/Testing (0.20.0)
Installing RKTableController (0.5.0) [LOCAL]
Owner

alloy commented Aug 29, 2012

Ah, gotcha. Thanks for clarifying!

Owner

fabiopelosin commented Aug 29, 2012

Should be fixed in the next release.

@jzapater jzapater pushed a commit to jzapater/CocoaPods that referenced this issue Sep 17, 2013

David Grandinetti Merge pull request #485 from dbgrandi/iPhoneMK-1.2.0
Update iPhoneMK to version 1.2.0
1e347d1

@fabiopelosin fabiopelosin added a commit that referenced this issue Oct 25, 2014

@fabiopelosin fabiopelosin [Installer] Cache locally sourced pods.
The caching of LocalPods might need a refactor.

Closes #485
e4f4562
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment