I seem to recall there being a workaround for this, but I can't remember at the moment.
Basically I want to use the latest AFNetworking from the git repo. I `rm -rf`ed the Pods/AFNetworking folder, updated my Podfile, ran pod install and got this:
Updating spec repo `master'
* Pre-downloading: `AFNetworking'
No podspec exists at path `/Users/ben/myapp/Pods/AFNetworking/AFNetworking.podspec'.
> I seem to recall there being a workaround for this, but I can't remember at the moment.
> Basically I want to use the latest AFNetworking from the git repo. I `rm -rf`ed the Pods/AFNetworking folder, updated my Podfile, ran pod install and got this:
> Updating spec repo `master'
> * Pre-downloading: `AFNetworking'
> No podspec exists at path `/Users/ben/myapp/Pods/AFNetworking/AFNetworking.podspec'.
On Tuesday, May 29, 2012 1:16:54 PM UTC-7, Eloy Durán wrote:
> The spec exists in the repo. Does it exist at that path?
> On May 29, 2012, at 9:25 PM, Ben Scheirman wrote:
> > I seem to recall there being a workaround for this, but I can't remember > at the moment.
> > Basically I want to use the latest AFNetworking from the git repo. I > `rm -rf`ed the Pods/AFNetworking folder, updated my Podfile, ran pod > install and got this:
> > Updating spec repo `master' > > * Pre-downloading: `AFNetworking' > > No podspec exists at path > `/Users/ben/myapp/Pods/AFNetworking/AFNetworking.podspec'.
> The spec exists in the repo. Does it exist at that path?
> On May 29, 2012, at 9:25 PM, Ben Scheirman wrote:
>> I seem to recall there being a workaround for this, but I can't remember at the moment.
>> Basically I want to use the latest AFNetworking from the git repo. I `rm -rf`ed the Pods/AFNetworking folder, updated my Podfile, ran pod install and got this:
>> Updating spec repo `master'
>> * Pre-downloading: `AFNetworking'
>> No podspec exists at path `/Users/ben/myapp/Pods/AFNetworking/AFNetworking.podspec'.
> > The spec exists in the repo. Does it exist at that path?
> > On May 29, 2012, at 9:25 PM, Ben Scheirman wrote:
> >> I seem to recall there being a workaround for this, but I can't > remember at the moment.
> >> Basically I want to use the latest AFNetworking from the git repo. I > `rm -rf`ed the Pods/AFNetworking folder, updated my Podfile, ran pod > install and got this:
> >> Updating spec repo `master' > >> * Pre-downloading: `AFNetworking' > >> No podspec exists at path > `/Users/ben/myapp/Pods/AFNetworking/AFNetworking.podspec'.
No, I simply created the podfile, run pod install --no-integrate, and then build the Pods xcodeproj.
However, to my understanding, this should not affect the outcome as long as you delete Pods/AFNetworking ( and ensure that you don't have a podspec in `Pods/Local Pods` that might interfere ).
> > The spec exists in the repo. Does it exist at that path?
> > On May 29, 2012, at 9:25 PM, Ben Scheirman wrote:
> >> I seem to recall there being a workaround for this, but I can't remember at the moment.
> >> Basically I want to use the latest AFNetworking from the git repo. I `rm -rf`ed the Pods/AFNetworking folder, updated my Podfile, ran pod install and got this:
> >> Updating spec repo `master' > >> * Pre-downloading: `AFNetworking' > >> No podspec exists at path `/Users/ben/myapp/Pods/AFNetworking/AFNetworking.podspec'.
This is 0.5.1. I don't have a "Pods/Local Pods" folder.
I was able to get around it by cloning this in a separate repo and copying the files over. I'll try this scenario with the latest HEAD, but the instructions on the wiki didn't work for me.
I run `~/bin/pod install` where ~/bin/pod is symlinked to a freshly cloned repo. I get this error:
On Tuesday, May 29, 2012 2:24:48 PM UTC-7, Fabio Pelosin wrote:
> No, I simply created the podfile, run pod install --no-integrate, and > then build the Pods xcodeproj.
> However, to my understanding, this should not affect the outcome as long > as you delete Pods/AFNetworking ( and ensure that you don't have a podspec > in `Pods/Local Pods` that might interfere ).
> Are you using CocoaPods head or 0.5.1?
> On 29/mag/2012, at 23:06, Ben Scheirman wrote:
> Did you start by fetching the official podspec, then change your Podfile > to reference the git url?
> On Tuesday, May 29, 2012 1:57:10 PM UTC-7, Fabio Pelosin wrote:
>> I tested with the CocoaPods head and works as intended with the following >> podfile:
>> > The spec exists in the repo. Does it exist at that path?
>> > On May 29, 2012, at 9:25 PM, Ben Scheirman wrote:
>> >> I seem to recall there being a workaround for this, but I can't >> remember at the moment.
>> >> Basically I want to use the latest AFNetworking from the git repo. I >> `rm -rf`ed the Pods/AFNetworking folder, updated my Podfile, ran pod >> install and got this:
>> >> Updating spec repo `master' >> >> * Pre-downloading: `AFNetworking' >> >> No podspec exists at path >> `/Users/ben/myapp/Pods/AFNetworking/AFNetworking.podspec'.
Actually there is a workaround that might work as a stopgap solution until 0.6.0.rc1. If the podspec doesn't need to be adjusted, you might simply checkout the revision that you want to use in Pods/AFNetworking (and the remove the .git folder). Can this work for you?
> This is 0.5.1. I don't have a "Pods/Local Pods" folder.
> I was able to get around it by cloning this in a separate repo and copying the files over. I'll try this scenario with the latest HEAD, but the instructions on the wiki didn't work for me.
> I run `~/bin/pod install` where ~/bin/pod is symlinked to a freshly cloned repo. I get this error:
> couldn't find Gemfile in "/Users/ben"
> On Tuesday, May 29, 2012 2:24:48 PM UTC-7, Fabio Pelosin wrote:
> No, I simply created the podfile, run pod install --no-integrate, and then build the Pods xcodeproj.
> However, to my understanding, this should not affect the outcome as long as you delete Pods/AFNetworking ( and ensure that you don't have a podspec in `Pods/Local Pods` that might interfere ).
> Are you using CocoaPods head or 0.5.1?
> On 29/mag/2012, at 23:06, Ben Scheirman wrote:
>> Did you start by fetching the official podspec, then change your Podfile to reference the git url?
>> On Tuesday, May 29, 2012 1:57:10 PM UTC-7, Fabio Pelosin wrote:
>> I tested with the CocoaPods head and works as intended with the following podfile:
>> > The spec exists in the repo. Does it exist at that path?
>> > On May 29, 2012, at 9:25 PM, Ben Scheirman wrote:
>> >> I seem to recall there being a workaround for this, but I can't remember at the moment.
>> >> Basically I want to use the latest AFNetworking from the git repo. I `rm -rf`ed the Pods/AFNetworking folder, updated my Podfile, ran pod install and got this:
>> >> Updating spec repo `master' >> >> * Pre-downloading: `AFNetworking' >> >> No podspec exists at path `/Users/ben/myapp/Pods/AFNetworking/AFNetworking.podspec'.