Absolute Path in Pods.xcconfig for vendored_library included via :path #1405

Closed
fabb opened this Issue Sep 24, 2013 · 4 comments

2 participants

@fabb

My project structure looks like this:

  • MyProj
    • Pods folder
    • myproj folder
      • external folder
        • MyExternalLib folder
          • libMyExternalLib.a
          • MyExternalLib.podspec
    • Podfile
    • myproj.xcworkspace

In the Podfile, I reference the podroot like this:
pod 'MyExternalLib', :path => 'myproj/external/MyExternalLib'

Everything fine so far, compiles ok, upload to SCM.
Cheking out from SCM on another location, the project does not compile anymore, as there are absolute paths in Pods.xcconfig for the LIBRARY_SEARCH_PATHS.

How can I have relative paths there to make the project portable?

@fabiopelosin
CocoaPods member

This is a bug. If you would like the speed up the resolution of this ticket a sample project which showcases the issue might be helpful.

@fabb

I've created a new project with a dummy :file pod. The first commit is before pod install, the second afterwards. The above described problem in Pods.xcconfig also occurs here.

https://github.com/fabb/AbsolutelyCocoapods

@fabiopelosin
CocoaPods member

@fabb 👍

@fabb

Awesome speed 👍

Any plan when this will be released in a new gem version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment