GithubHelp home page GithubHelp logo

Comments (7)

sarahhodne avatar sarahhodne commented on April 19, 2024

This would really help using ReactiveCocoa with CocoaPods. I would like using master, but there's not really a way to do that now without cloning ReactiveCocoa. I'm using Mantle as well in my project, which is in my CocoaPods repo, but they don't play nicely together as they have some shared dependencies, which leads to duplicated symbols in the linked binary.

from reactivecocoa.

jspahrsummers avatar jspahrsummers commented on April 19, 2024

Isn't CocoaPods supposed to handle that case? I thought that was a pretty big selling point. In any case, linking without -all_load should solve duplicate symbol errors.

We've been pretty diligent about tagging, and others (like @irrationalfab) have been maintaining a Podspec external to the repo.

from reactivecocoa.

jspahrsummers avatar jspahrsummers commented on April 19, 2024

So, just to clarify: are tags usable without the podspec file being in the repo?

from reactivecocoa.

prabirshrestha avatar prabirshrestha commented on April 19, 2024

@irrationalfab thoughts on this?

from reactivecocoa.

dannygreg avatar dannygreg commented on April 19, 2024

As far as I understand in our current state we are 100% usable with CocoaPods right now. I see no need to add another file to the repo.

from reactivecocoa.

fabiopelosin avatar fabiopelosin commented on April 19, 2024

This would really help using ReactiveCocoa with CocoaPods. I would like using master, but there's not really a way to do that now without cloning ReactiveCocoa.

I agree with @jspahrsummers that they have been doing a great job with tagging so I personally see little need of using the head of master. In any case, if you need it, you can create a custom podspec in a private repo (however you might need to update the file patterns from time to time).

Isn't CocoaPods supposed to handle that case? I thought that was a pretty big selling point.

If a library is added to a project manually CocoaPods it is not aware of it and doesn't have the information necessary to cross resolve dependencies.

So, just to clarify: are tags usable without the podspec file being in the repo?

Yes. When a library is properly tagged the only advantage of having a podspec in the repo is that users can edit the library from their final application (:local option) to facilitate the preparation of a pull request. However if the podspec is added to the root of the repo it is expected to be maintained, otherwise it is useless.

from reactivecocoa.

jspahrsummers avatar jspahrsummers commented on April 19, 2024

@irrationalfab Thanks for the summary and your work on the podspec!

I agree with @dannygreg, so I'm going to close this out.

from reactivecocoa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.