livechat / chat-window-ios

Embeding LiveChat mobile chat window in iOS application
MIT License
24 stars 31 forks source link

Add Carthage support. #2

Closed renatorodrigues closed 7 years ago

renatorodrigues commented 7 years ago

This pull request adds Carthage support to the LiveChat framework.

Currently, it is only possible to use this framework with CocoaPods or with a manual installation. The former is not an option if one uses a different dependency manager and the latter is quite a delicate solution.

For instance, on the project where I'm trying to integrate LiveChat, we use Carthage and adding a different dependency manager just because of one framework is not viable. To make matters worse, a manual installation leads to multiple name collisions since all code sits under the same module.

Moreover, nowadays, many projects use other managers than CocoaPods, being Carthage and Swift Package Manager the two most used. This PR focus on adding support for Carthage, without breaking the existing support for CocoaPods. Also, with the changes made here, adding support for the Package Manager becomes quite simple and straight-forward.

Jercik commented 7 years ago

Thank you for your contribution.