cocoapods-try icon indicating copy to clipboard operation
cocoapods-try copied to clipboard

Pod try private pod?

Open RegularEric opened this issue 6 years ago • 3 comments

Report

What did you do?

I just created a private pod following the cocoapods guidelines. Then I tried pod try myPrivatePod

What did you expect to happen?

Didn't really expect it to work without some sort of source URL added

What happened instead?

Performing CocoaPods Installation [!] Unable to find a specification for myPrivatePod

CocoaPods Environment

Stack

   CocoaPods : 1.3.1
        Ruby : ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin16]
    RubyGems : 2.6.14
        Host : Mac OS X 10.13.2 (17C88)
       Xcode : 9.2 (9C40b)
         Git : git version 2.14.3 (Apple Git-98)
Ruby lib dir : /Users/ericchang/.rvm/rubies/ruby-2.4.2/lib
Repositories : giift-specs - [email protected]:giiftalldev/specs.git @ 5fc0dd7b5496f5022981086c028ef63377aa7be5
               master - https://github.com/CocoaPods/Specs.git @ 971ab63e341e8ed0a8af519244a491a7c110a493

Installation Source

Executable Path: /Users/ericchang/.rvm/gems/ruby-2.4.2/bin/pod

Plugins

cocoapods-deintegrate : 1.0.1
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-stats       : 1.0.0
cocoapods-trunk       : 1.3.0
cocoapods-try         : 1.1.0

Was there a way to try private pods? Thank you.

RegularEric avatar Dec 16 '17 18:12 RegularEric

You can only pod try pods that have been published to a specs repo (either the CocoaPods repo or your private specs repo)

segiddins avatar Dec 16 '17 18:12 segiddins

I have my podspecs in a private bitbucket specs repo. How should I proceed with pod try?

RegularEric avatar Dec 16 '17 19:12 RegularEric

If the git_url? test would work for the file:// scheme, shouldn't trying local pods work? Or is there something else missing?

Edit: After a quick jab at this, it seems that's not enough. :( Talking to the master repo doesn't make sense for trying private pods, but changing that is a far deeper cut.

DivineDominion avatar Oct 24 '18 12:10 DivineDominion