Is there a way I can specify a different repository for the CocoaPods master repo?

72A12F4E

At my work, we have a private cocoapods repository that we use to host whitelisted libraries for developers, and I am trying to validate a library I wrote.

Whenever i do a pod spec lint MYPODNAME --verbose, CocoaPods tries to validate my spec against the master repo instead of my private repo.

Is there any way to get around this behavior?

I have tried completely removing the master repo, but it still attempts to validate my pod's dependencies against master

EDIT: This issue seems to describe what I am experiencing.

72A12F4E

Answering my own question. You have to manually specify the --sources for what CocoaPods will validate the spec against.

pod spec lint MYPODNAME --verbose --sources=git@<DOMAIN>:<REPO>.git

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

When pointing to a github repo with Cocoapods, is there a way to specify a subfolder?

From Dev

Apache MAVEN: How can I specify a jar dependency from a non standard repository without a pom in the repo?

From Dev

Can I specify .git/config values in a repo

From Dev

CocoaPods was not able to update the `master-1` repo

From Dev

when running pod install I get The `master` repo requires CocoaPods 0.32.1, try updating but still in 0.31

From Dev

pod "Setting up CocoaPods master repo" everytime I use "pod install"

From Dev

Can I specify the sub path of a Git repo to require in Gemfile?

From Dev

How can I commit the current state of my repo as master?

From Dev

How can I commit the current state of my repo as master?

From Dev

Apply master repo changes into duplicate repository

From Dev

How can I specify an argument for the Repository's constructor from the Controller?

From Dev

I can't specify the location of Subversion repository in Netbeans

From Java

Pod install is staying on "Setting up CocoaPods Master repo"

From Dev

pod setup fail at 'Setting up CocoaPods master repo'

From Dev

Where is the postgresql wal located? How can I specify a different path?

From Dev

In Cordova, how can I specify different package names for ios and android?

From Dev

How can I specify a custom icon for different folders in Unity?

From Dev

Is there any way I can specify defaultValue for collections with JAXB?

From Dev

Is there a way I can specify the second <span> inside an element?

From Dev

Is there way I can specify a favicon without using images?

From Dev

Is there any way I can specify the platform for os.path?

From Dev

Is there way I can specify a favicon without using images?

From Dev

Can I run a different workflow for develop merges into master with CircleCI?

From Dev

Git, using a repository as a core base where I can pick some modules for another repo

From Dev

How can I extract a portion of a git repository into it's own repo while retaining history and file structure?

From Dev

Git - How can I ignore a file of my repo without removing it from the repository?

From Dev

Git - How can I ignore a file of my repo without removing it from the repository?

From Dev

Can I have one sub repository inside another, and update the sub repo globally?

From Dev

Can I reference a repository of a different entity within a specific entity service?

Related Related

  1. 1

    When pointing to a github repo with Cocoapods, is there a way to specify a subfolder?

  2. 2

    Apache MAVEN: How can I specify a jar dependency from a non standard repository without a pom in the repo?

  3. 3

    Can I specify .git/config values in a repo

  4. 4

    CocoaPods was not able to update the `master-1` repo

  5. 5

    when running pod install I get The `master` repo requires CocoaPods 0.32.1, try updating but still in 0.31

  6. 6

    pod "Setting up CocoaPods master repo" everytime I use "pod install"

  7. 7

    Can I specify the sub path of a Git repo to require in Gemfile?

  8. 8

    How can I commit the current state of my repo as master?

  9. 9

    How can I commit the current state of my repo as master?

  10. 10

    Apply master repo changes into duplicate repository

  11. 11

    How can I specify an argument for the Repository's constructor from the Controller?

  12. 12

    I can't specify the location of Subversion repository in Netbeans

  13. 13

    Pod install is staying on "Setting up CocoaPods Master repo"

  14. 14

    pod setup fail at 'Setting up CocoaPods master repo'

  15. 15

    Where is the postgresql wal located? How can I specify a different path?

  16. 16

    In Cordova, how can I specify different package names for ios and android?

  17. 17

    How can I specify a custom icon for different folders in Unity?

  18. 18

    Is there any way I can specify defaultValue for collections with JAXB?

  19. 19

    Is there a way I can specify the second <span> inside an element?

  20. 20

    Is there way I can specify a favicon without using images?

  21. 21

    Is there any way I can specify the platform for os.path?

  22. 22

    Is there way I can specify a favicon without using images?

  23. 23

    Can I run a different workflow for develop merges into master with CircleCI?

  24. 24

    Git, using a repository as a core base where I can pick some modules for another repo

  25. 25

    How can I extract a portion of a git repository into it's own repo while retaining history and file structure?

  26. 26

    Git - How can I ignore a file of my repo without removing it from the repository?

  27. 27

    Git - How can I ignore a file of my repo without removing it from the repository?

  28. 28

    Can I have one sub repository inside another, and update the sub repo globally?

  29. 29

    Can I reference a repository of a different entity within a specific entity service?

HotTag

Archive