Skip to content

Private podspecs not updated #35

Open
@JanC

Description

@JanC

Hi,
when I add a private podspec using

        <pods-config ios-min-version="9.0" use-frameworks="true">
             <!-- optionally add private spec sources -->
            <source url="git@github.com:foo/foo-specs.git"/>
            <source url="git@github.com:bar/bar-specs.git"/>
        </pods-config>
        <!-- use the latest version of a pod -->
        <pod name="MyPod" version="3.3.0" />

The pod installation fails because the podspecs are not updated:

Sit back and relax this could take a while.
Analyzing dependencies
[!] Unable to satisfy the following requirements:

- `MyPod (= 3.3.0)` required by `Podfile`

None of your spec sources contain a spec satisfying the dependency: `MyPod (= 3.3.0)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.

It can be manually fixed by running pod repo update but it has to be run in the generated xcode project folder which is not convenient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions