Skip to content

pod install not cloning dependencies into the Pods directory #568

Closed
croach opened this Issue Oct 3, 2012 · 14 comments

4 participants

@croach
croach commented Oct 3, 2012

I just decided to give cocoapods a try and it doesn't seem to work for me. I'm on a Mac using OS X v10.7.4 and I've tried using cocoapods with both the system ruby (v1.8.7) and with a fresh install of the latest ruby (v1.9.3-p194) using rbenv and ruby-build and in both cases whenever I call pod install it creates the Pods directory and the proper workspace, but the source code folder for the dependency within the Pods folder is completely empty. My Podfile is listed below:

# Podfile

platform :osx
pod 'AFNetworking'

The output from running pod install --verbose is listed below:

Resolving dependencies of `./Podfile'

Updating spec repositories
Updating spec repo `master'
  $ /usr/local/bin/git pull
  Already up-to-date.

Resolving dependencies for target `default' (OS X 10.6)
  - AFNetworking

Downloading dependencies

-> Installing AFNetworking (1.0)
 > Cloning git repo
   $ /usr/local/bin/git rev-list --max-count=1 1.0RC3
   ac19057c72c5d805112c0f32b021053aad34cf56
   $ /usr/local/bin/git init
   Initialized empty Git repository in /Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/
   $ /usr/local/bin/git remote add origin
   '/Users/croach/Library/Caches/CocoaPods/Git/a7f129229d47b74a225e1e2ed0bc604f35d71ac7'
   $ /usr/local/bin/git fetch origin tags/1.0RC3
   From /Users/croach/Library/Caches/CocoaPods/Git/a7f129229d47b74a225e1e2ed0bc604f35d71ac7
    * tag               1.0RC3     -> FETCH_HEAD
   $ /usr/local/bin/git reset --hard FETCH_HEAD
   HEAD is now at ac19057 Merge branch 'master' of github.com:AFNetworking/AFNetworking
   $ /usr/local/bin/git checkout -b activated-pod-commit
   Switched to a new branch 'activated-pod-commit'
 > Installing documentation
[!] Skipping documentation generation because appledoc can't be found.

Generating support files
  - Running pre install hooks
  - Generating project
  - Installing targets
    - Generating xcconfig file at `./Pods/Pods.xcconfig'
    - Generating prefix header at `./Pods/Pods-prefix.pch'
    - Generating copy resources script at `./Pods/Pods-resources.sh'
  - Running post install hooks
  - Writing Xcode project file to `./Pods/Pods.xcodeproj'
  - Writing lockfile in `./Podfile.lock'

[!] From now on use `AirBoard.xcworkspace'.

Judging by the state of the ./Pods/AFNetworking folder it would appear that none of the git commands are working. I am seeing the AFNetworking library cloned in the Caches directory, but the AFNetworking directory is not a git repository and is completely empty.

I'd love any help you could give on this issue, as cocoapods looks fantastic, but as of right now I am still stuck with downloading the individual projects and adding their source to Xcode by hand.

Thanks for your help.

@croach
croach commented Oct 3, 2012

I was able to get it to work by calling pod install --no-integrate --verbose then cd-ing into the ./Pods/AFNetworking directory and performing all of the git commands from the output of the pod install command by hand, then subsequently running pod install again.

Any ideas on why the git commands would not work properly when the pod install command runs them?

BTW, I am running git version 1.7.12.1 if that helps out at all.

Let me know if there is any more information that I can supply.

@fabiopelosin
CocoaPods member

There is a similar issue #519. Can you try running install with the --no-clean option and report if it is working?

@croach
croach commented Oct 3, 2012

Yep, running it with the --no-clean option worked perfectly for me. Is there any other information you would like me to include that could help out with figuring out why pod install by itself isn't working in this case?

BTW, I tried using pod install on a fresh project (named Test) with absolutely nothing done to it other than creating it, just to make sure that it wasn't something specific with the project I was working on that was causing the issue and I ran into the same problem on the new project as well (which was also solved by using the --no-clean option).

@fabiopelosin
CocoaPods member

I can't reproduce the issue.

Can you modify your gem to show the files that it is computing?

$ open `dirname $(gem which cocoapods)`/cocoapods/local_pod.rb
# edit with the diff below
$ cd /Users/croach/Developer/cocoa/AirBoard
$ rm -rf pods && pod install --no-integrate
@@ -164,7 +164,8 @@ module Pod
     # @return [Array<Strings>] The paths that can be deleted.
     #
     def clean_paths
-      cached_used_paths = used_files
+      puts "\n\nCACHED USED PATHS"
+      puts cached_used_paths = used_files
       files = Dir.glob(root + "**/*", File::FNM_DOTMATCH)

       files.reject! do |candidate|
           path.include?(candidate) || candidate.include?(path)
         end
       end
+      puts "\n\nCLEAN PATHS"
+      puts files
       files
     end

This is the list that I get:

CACHED USED PATHS
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFHTTPClient.h
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.h
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFImageRequestOperation.h
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFJSONRequestOperation.h
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFNetworkActivityIndicatorManager.h
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFNetworking.h
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFPropertyListRequestOperation.h
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.h
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFXMLRequestOperation.h
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/UIImageView+AFNetworking.h
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFHTTPClient.m
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFImageRequestOperation.m
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFJSONRequestOperation.m
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFNetworkActivityIndicatorManager.m
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFPropertyListRequestOperation.m
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.m
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFXMLRequestOperation.m
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/UIImageView+AFNetworking.m
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking.podspec
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/README.md
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/LICENSE


CLEAN PATHS
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/config
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/description
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/FETCH_HEAD
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/HEAD
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks/applypatch-msg.sample
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks/commit-msg.sample
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks/post-update.sample
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks/pre-applypatch.sample
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks/pre-commit.sample
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks/pre-rebase.sample
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks/prepare-commit-msg.sample
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks/update.sample
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/index
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/info
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/info/exclude
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/logs
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/logs/HEAD
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/logs/refs
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/logs/refs/heads
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/logs/refs/heads/activated-pod-commit
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/logs/refs/heads/master
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/objects
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/objects/info
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/objects/pack
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/objects/pack/pack-ebc59756306d73f74a2428d2cb8692f2a819206c.idx
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/objects/pack/pack-ebc59756306d73f74a2428d2cb8692f2a819206c.pack
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/refs
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/refs/heads
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/refs/heads/activated-pod-commit
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/refs/heads/master
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/refs/tags
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking.xcworkspace
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking.xcworkspace/contents.xcworkspacedata
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/CHANGES
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking Example.entitlements
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking iOS Example.xcodeproj
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking iOS Example.xcodeproj/project.pbxproj
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking iOS Example.xcodeproj/project.xcworkspace
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking iOS Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking Mac Example.xcodeproj
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking Mac Example.xcodeproj/project.pbxproj
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking Mac Example.xcodeproj/project.xcworkspace
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking Mac Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AppDelegate.h
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AppDelegate.m
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/AFTwitterAPIClient.h
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/AFTwitterAPIClient.m
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Controllers
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Controllers/PublicTimelineViewController.h
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Controllers/PublicTimelineViewController.m
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Models
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Models/Tweet.h
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Models/Tweet.m
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Models/User.h
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Models/User.m
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Views
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Views/TweetTableViewCell.h
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Views/TweetTableViewCell.m
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Default.png
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Default@2x.png
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/en.lproj
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/en.lproj/MainMenu.xib
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Icon.png
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Icon@2x.png
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Images
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Images/profile-image-placeholder.png
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Images/profile-image-placeholder@2x.png
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/iOS-Info.plist
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Mac-Info.plist
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/main.m
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/MainMenu.xib
/Users/fabio/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Prefix.pch
@croach
croach commented Oct 4, 2012

I made the changes you suggested and ran it. The output is listed below. It looks like yours and mine are nearly the same, with the exception that in mine the AFNetworking source files are being removed during the cleaning phase.

Let me know if there is anything else I can do to; I'm more than happy to help debug this in any way I can. I can also take a look into this on my end and see what I can find out---though, I will say that my Ruby is a little rusty ;-)


CACHED USED PATHS
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFHTTPClient.h
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.h
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFImageRequestOperation.h
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFJSONRequestOperation.h
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFNetworkActivityIndicatorManager.h
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFNetworking.h
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFPropertyListRequestOperation.h
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.h
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFXMLRequestOperation.h
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/UIImageView+AFNetworking.h
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFHTTPClient.m
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFImageRequestOperation.m
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFJSONRequestOperation.m
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFNetworkActivityIndicatorManager.m
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFPropertyListRequestOperation.m
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.m
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFXMLRequestOperation.m
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/UIImageView+AFNetworking.m
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking.podspec
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/README.md
/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/LICENSE


CLEAN PATHS
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/config
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/description
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/FETCH_HEAD
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/HEAD
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks/applypatch-msg.sample
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks/commit-msg.sample
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks/post-update.sample
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks/pre-applypatch.sample
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks/pre-commit.sample
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks/pre-rebase.sample
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks/prepare-commit-msg.sample
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/hooks/update.sample
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/index
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/info
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/info/exclude
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/logs
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/logs/HEAD
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/logs/refs
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/logs/refs/heads
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/logs/refs/heads/activated-pod-commit
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/logs/refs/heads/master
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/objects
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/objects/info
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/objects/pack
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/objects/pack/pack-ebc59756306d73f74a2428d2cb8692f2a819206c.idx
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/objects/pack/pack-ebc59756306d73f74a2428d2cb8692f2a819206c.pack
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/refs
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/refs/heads
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/refs/heads/activated-pod-commit
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/refs/heads/master
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/.git/refs/tags
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFHTTPClient.h
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFHTTPClient.m
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.h
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFHTTPRequestOperation.m
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFImageRequestOperation.h
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFImageRequestOperation.m
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFJSONRequestOperation.h
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFJSONRequestOperation.m
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFNetworkActivityIndicatorManager.h
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFNetworkActivityIndicatorManager.m
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFNetworking.h
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFPropertyListRequestOperation.h
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFPropertyListRequestOperation.m
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.h
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFURLConnectionOperation.m
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFXMLRequestOperation.h
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFXMLRequestOperation.m
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/UIImageView+AFNetworking.h
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/UIImageView+AFNetworking.m
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking.podspec
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking.xcworkspace
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking.xcworkspace/contents.xcworkspacedata
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/CHANGES
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking Example.entitlements
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking iOS Example.xcodeproj
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking iOS Example.xcodeproj/project.pbxproj
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking iOS Example.xcodeproj/project.xcworkspace
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking iOS Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking Mac Example.xcodeproj
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking Mac Example.xcodeproj/project.pbxproj
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking Mac Example.xcodeproj/project.xcworkspace
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AFNetworking Mac Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AppDelegate.h
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/AppDelegate.m
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/AFTwitterAPIClient.h
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/AFTwitterAPIClient.m
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Controllers
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Controllers/PublicTimelineViewController.h
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Controllers/PublicTimelineViewController.m
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Models
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Models/Tweet.h
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Models/Tweet.m
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Models/User.h
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Models/User.m
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Views
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Views/TweetTableViewCell.h
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Classes/Views/TweetTableViewCell.m
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Default.png
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Default@2x.png
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/en.lproj
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/en.lproj/MainMenu.xib
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Icon.png
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Icon@2x.png
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Images
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Images/profile-image-placeholder.png
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Images/profile-image-placeholder@2x.png
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/iOS-Info.plist
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Mac-Info.plist
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/main.m
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/MainMenu.xib
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/Example/Prefix.pch
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/LICENSE
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/README.md
Generating support files
@fabiopelosin
CocoaPods member

For some arcane reason Developer is downcased in one of the paths. However, as we don't do anything with the root of your podfile (/Users/croach/developer/cocoa/AirBoard, we just read it), I think that is not a bug strictly related to CocoaPods.

I have no clue, of why do you observe this behavior (not present in my system 10.8) across Rubies. My feel is that it is something related to 10.7.

Anyway, the fix looks easy, I'll just downcase the strings before comparing the two arrays. Thanks for your help otherwise this bug would simply have been untraceable.

/Users/croach/developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFHTTPClient.h
/Users/croach/Developer/cocoa/AirBoard/Pods/AFNetworking/AFNetworking/AFHTTPClient.h
@fabiopelosin fabiopelosin added a commit that closed this issue Oct 4, 2012
@fabiopelosin fabiopelosin [LocalPod] Fixed clean paths.
Closes #519
Closes #568
8e72cbe
@xissburg

This still happens. I am in Mac OSX ML 10.8.3 and I am trying to clone this repo https://github.com/pnicholls/GPUImage. I only get the README.md and License.txt files in the Pods/GPUImage folder.

@fabiopelosin
CocoaPods member

@xissburg You issue is related to the podspec present in the root of the repo not referencing any file in the repo (for example the source_files attribute is referencing the Classes folder which doesn't exists in your repo). CocoaPods cleans by default any file which is not used (and always preserves some important files like the Readme and the license).

@xissburg

Oh, sorry for my noobness.. I've edited the podspec file and now it is downloading the source files. Another question though.. every time I edit the podspec file I have to remove and add the pod again in the other project (the one that uses the pod/framework), because a pod install or pod update does not seem to look into the updated pod spec file. Is there some parameter that will consider the updates that were made to the pod spec?

Thanks.

@fabiopelosin
CocoaPods member

every time I edit the podspec file I have to remove and add the pod again in the other project (the one that uses the pod/framework), because a pod install or pod update does not seem to look into the updated pod spec file. Is there some parameter that will consider the updates that were made to the pod spec?

CocoaPods should handle automatically this. Are you running the most recent version?

@xissburg

pod --version outputs 0.19.1

@fabiopelosin
CocoaPods member

Can you open a new issue with a reduced test case detailing the output of pod install --verbose after performing some change to the spec?

@fabiopelosin fabiopelosin added a commit that referenced this issue Oct 25, 2014
@fabiopelosin fabiopelosin [LocalPod] Fixed clean paths.
Closes #519
Closes #568
767cd9d
@guptapriyanka

@fabiopelosin @xissburg
I am running into the same issue. I am trying to test my own project and this is how I am including my source files in the podspec:
s.source_files = 'ProjectName/**/*.{h,m}'

When I run pod install(I tried with no clean too), I only get the readme. What am I doing wrong?

@guptapriyanka

Just fixed it. Deleting the pods folder and reinstalling it fixed it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.