rundfunk47 / stinsen

Coordinators in SwiftUI. Simple, powerful and elegant.
MIT License
922 stars 97 forks source link

Does stinsen support installation with CocoaPods? #6

Closed hdmdhr closed 3 years ago

hdmdhr commented 3 years ago

First of all, thank you for providing such a simple and elegant way to implement coordinator pattern with SwiftUI, I have been sniffing around about this topic and your approach is the best I found.

I installed this library with Swift Package Manager very easily and had zero issues when using it. But my project also depends on some other third party libraries that do not support SPM, so I also had to use CocoaPods to install those. And now, for some Apple M1 chip and arm64 compilation reason, I couldn't make the project compile for both CocoaPods and SPM dependencies, so I am thinking about dropping SPM and use CocoaPods only, because I know how to make it work with CocoaPods.

So here we are back to my original question: do you currently or plan to support installation with CocoaPods? I tried searching stinsen on CocoaPods.org but could not find it. Also, if you can add a Installation section to your readme, it would definitely help some devs to use your framework more easily.

Thanks again, for sharing this great library!

rundfunk47 commented 3 years ago

Hi! Thanks, just happy to be able to help out other developers 😄. I haven't used CocoaPods for a while so I haven't really thought about adding support yet, but of course it makes sense to do so. I've released 1.0.6which has support for Cocoapods, and I've also added a small Installation section to the readme.md 😊

hdmdhr commented 3 years ago

Thank you for fast response! @rundfunk47 I was just looking at your master branch so I didn't realize that you have already supported CocoaPods. But weirdly enough, I gave it a try yesterday and now, and below is the result I am getting.

I tried pod 'Stinsen' as well as pod 'Stinsen', '1.0.6', but got the same result.

image

Btw I have figured out a way to make CocoaPods and SPM work together on M1, but still, knowing it has CocoaPods support is always reassuring.

rundfunk47 commented 3 years ago

Hi, does it work now? It takes a while for the main Cocoapods repo to index it, it seems

hdmdhr commented 3 years ago

@rundfunk47 Thanks for confirming! After I ran pod repo update, then pod install, it's all working! I have successfully installed Stinsen (1.0.7)! Appreciate all your helps!

rundfunk47 commented 3 years ago

Great 👍🏼