ReactiveCocoa / ReactiveCocoa

Cocoa framework and Obj-C dynamism bindings for ReactiveSwift.
MIT License
19.93k stars 3.47k forks source link

Official CocoaPods support #3000

Closed dmcrodrigues closed 7 years ago

dmcrodrigues commented 8 years ago

I'm aware about the preference for Carthage over CocoaPods, personally I fit myself in that group, but seems unreasonable not having any official support for CocoaPods which is broadly used by many developers and many projects.

The last release of ReactiveCocoa, 4.2.0, introduces not only some important fixes but also new additions and yet the last version available on CocoaPods is the previous one, 4.1.0. Right now, people are depending on the goodwill of volunteers.

I know that it will require some effort to support a new dependency manager like CocoaPods but I think for a project like ReactiveCocoa it really should be done to facilitate adoption, integration and migration. I've mentioned this some time ago and I know there's some reluctancy around it but I really think the project is being affected by this limitation/restriction.

RuiAAPeres commented 8 years ago

I think we discussed this before in other threads and in the Slack room. I up for maintaining this if needed, so I think we should move forward with it. There are just too many people using CocoaPods and ReactiveCocoa, for us to not to take it seriously.

cc @mdiep @NachoSoto

mdiep commented 8 years ago

I'm okay with adding this to the repo with official support. But we need to document what needs to be done to update the podspec as part of the release process.

tunidev commented 8 years ago

Please do that, I like Carthage but my project use some library which is available with CacoaPods and I don't want to mix CacoaPods with Carthage and I think it's the same situation for other developers

ashfurrow commented 8 years ago

Pretty cool! I should now have more time to help than I have the past few months, too. A group of us is currently maintaining the podspec at https://github.com/mhuusko5/Podspecs , but the 4.2.0 podspec isn't linting right now. I'm in email correspondence (moving to a GH issue) with someone keen to help address it.

Moving the podspec into the ReactiveCocoa repo would be a great step towards making ReactiveCocoa even more accessible by developers in the community. Really excited to see where this leads!

chrrasmussen commented 8 years ago

As @ashfurrow mentioned, I have taken a look at the linting errors and posted my discoveries at https://github.com/mhuusko5/Podspecs/issues/9. The discoveries are based on the Podspec located in said repository.

nikita-leonov commented 8 years ago

@ashfurrow since 4.2.1 was released not so far ago, can someone release 4.2.2 too? Looks like a small effort that will pay a lot. There are not many active contributors left who still can release Podspecs ;(

nikita-leonov commented 8 years ago

@ashfurrow thanks for sharing podspec access right, 4.2.2 released.

ashfurrow commented 8 years ago

@nikita-leonov would you mind sending a pull request to the community Podspecs repo that updates the ReactiveCocoa podspec?

nikita-leonov commented 8 years ago

@ashfurrow I will do it today. I was not aware of this repo. Thanks.

ashfurrow commented 8 years ago

Soon we won't need a separate repo anymore :) We'll need to update the pod spec for the repo split, might make sense to add it to this repo then?

mdiep commented 8 years ago

That sounds great. Just please include instructions for updating it! Since I don't use CocoaPods personally, I'm not very familiar with pod specs.

DulMephistos commented 7 years ago

Curious about what happened to this thread.. I'm trying to use @ashfurrow podspec but it's not easy since it conflicts with an unofficial podspec that exists on https://github.com/CocoaPods/Specs.git.

We really need this official support! Now that Xcode 8 is out and 5.0 (Swift 3.0) is around the corner it would be awesome to get this going. Any updates?

andersio commented 7 years ago

We have #3219 and #3252 pending.

andersio commented 7 years ago

@pixel4 Try https://github.com/ReactiveCocoa/ReactiveCocoa/pull/3252. :)

andersio commented 7 years ago

https://github.com/ReactiveCocoa/ReactiveCocoa/releases/tag/5.0.0-alpha.2 :tada:

@ashfurrow @ikesyo Please push the pod to trunk.

ikesyo commented 7 years ago

Please push the pod to trunk.

Done 🚀

$ pod trunk push

[!] Found podspec ReactiveCocoa.podspec Updating spec repo master Validating podspec -> ReactiveCocoa (5.0.0-alpha.2)

Updating spec repo master


🎉 Congrats

🚀 ReactiveCocoa (5.0.0-alpha.2) successfully published 📅 October 23rd, 09:58 🌎 https://cocoapods.org/pods/ReactiveCocoa

👍 Tell your friends!