Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
blakewatters opened this Issue · 4 comments

3 participants

@blakewatters

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).

@alloy
Owner

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.)

@blakewatters

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]
@alloy
Owner

Ah, gotcha. Thanks for clarifying!

@fabiopelosin fabiopelosin closed this issue from a commit
@fabiopelosin fabiopelosin [Installer] Cache locally sourced pods.
The caching of LocalPods might need a refactor.

Closes #485
a4feabf
@fabiopelosin

Should be fixed in the next release.

@fabiopelosin fabiopelosin referenced this issue from a commit
@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
Something went wrong with that request. Please try again.