Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Updating a pod from a git branch
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ben Scheirman  
View profile   Translate to Translated (View Original)
 More options May 29 2012, 3:25 pm
From: Ben Scheirman <subdigi...@gmail.com>
Date: Tue, 29 May 2012 12:25:16 -0700
Local: Tues, May 29 2012 3:25 pm
Subject: Updating a pod from a git branch
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'.

What am I missing?

-- Ben


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eloy Durán  
View profile   Translate to Translated (View Original)
 More options May 29 2012, 4:16 pm
From: Eloy Durán <eloy.de.en...@gmail.com>
Date: Tue, 29 May 2012 22:16:54 +0200
Local: Tues, May 29 2012 4:16 pm
Subject: Re: Updating a pod from a git branch
The spec exists in the repo. Does it exist at that path?

On May 29, 2012, at 9:25 PM, Ben Scheirman wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Scheirman  
View profile  
 More options May 29 2012, 4:53 pm
From: Ben Scheirman <subdigi...@gmail.com>
Date: Tue, 29 May 2012 13:53:47 -0700 (PDT)
Local: Tues, May 29 2012 4:53 pm
Subject: Re: Updating a pod from a git branch

No, it didn't seem to download the repo.  Not sure where to look next.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fabio Pelosin  
View profile   Translate to Translated (View Original)
 More options May 29 2012, 4:57 pm
From: Fabio Pelosin <fabiopelo...@gmail.com>
Date: Tue, 29 May 2012 22:57:10 +0200
Local: Tues, May 29 2012 4:57 pm
Subject: Re: Updating a pod from a git branch
I tested with the CocoaPods head and works as intended with the following podfile:

   platform :ios
   dependency 'AFNetworking', {:git => 'https://github.com/AFNetworking/AFNetworking.git'}

On 29/mag/2012, at 22:16, Eloy Durán wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Scheirman  
View profile  
 More options May 29 2012, 5:06 pm
From: Ben Scheirman <subdigi...@gmail.com>
Date: Tue, 29 May 2012 14:06:23 -0700 (PDT)
Local: Tues, May 29 2012 5:06 pm
Subject: Re: Updating a pod from a git branch

Did you start by fetching the official podspec, then change your Podfile to
reference the git url?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fabio Pelosin  
View profile   Translate to Translated (View Original)
 More options May 29 2012, 5:24 pm
From: Fabio Pelosin <fabiopelo...@gmail.com>
Date: Tue, 29 May 2012 23:24:48 +0200
Local: Tues, May 29 2012 5:24 pm
Subject: Re: Updating a pod from a git branch

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:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ben Scheirman  
View profile  
 More options May 29 2012, 5:45 pm
From: Ben Scheirman <subdigi...@gmail.com>
Date: Tue, 29 May 2012 14:45:00 -0700 (PDT)
Subject: Re: Updating a pod from a git branch

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"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fabio Pelosin  
View profile   Translate to Translated (View Original)
 More options May 29 2012, 6:17 pm
From: Fabio Pelosin <fabiopelo...@gmail.com>
Date: Wed, 30 May 2012 00:17:07 +0200
Local: Tues, May 29 2012 6:17 pm
Subject: Re: Updating a pod from a git branch

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?

On 29/mag/2012, at 23:45, Ben Scheirman wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »