freshOS / ws-deprecated

⚠️ Deprecated - (in favour of Networking) :cloud: Elegantly connect to a JSON api. (Alamofire + Promises + JSON Parsing)
MIT License
353 stars 32 forks source link

Add git submodules #26

Closed maxkonovalov closed 8 years ago

maxkonovalov commented 8 years ago
  1. Set up the project dependencies to use git submodules in addition to Carthage/Cocoapods. That way, by simply checking out ws from git makes it also pull the dependent projects from their repositories.
  2. Added the dependent Xcode projects to ws as subprojects and linked their produced frameworks to the target, so that there's no need for any extra setup when adding ws to your own project. Note that to make the subprojects work with Carthage, no prebuilt frameworks should be used (currently then is copied as a compiled lib rather than source code). Although that may be fine because of how Carthage manages the frameworks.
maxkonovalov commented 8 years ago

One catch here: when updating the dependencies versions in Carthage and Cocoapods, you'll also need to pick the corresponding submodules commits.