{"action":"created","issue":{"url":"https://api.github.com/repos/Moya/Moya/issues/246","labels_url":"https://api.github.com/repos/Moya/Moya/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/Moya/Moya/issues/246/comments","events_url":"https://api.github.com/repos/Moya/Moya/issues/246/events","html_url":"https://github.com/Moya/Moya/issues/246","id":110248618,"number":246,"title":"Carthage installs require explicit dependency listing","user":{"login":"JRHeaton","id":159331,"avatar_url":"https://avatars.githubusercontent.com/u/159331?v=3","gravatar_id":"","url":"https://api.github.com/users/JRHeaton","html_url":"https://github.com/JRHeaton","followers_url":"https://api.github.com/users/JRHeaton/followers","following_url":"https://api.github.com/users/JRHeaton/following{/other_user}","gists_url":"https://api.github.com/users/JRHeaton/gists{/gist_id}","starred_url":"https://api.github.com/users/JRHeaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JRHeaton/subscriptions","organizations_url":"https://api.github.com/users/JRHeaton/orgs","repos_url":"https://api.github.com/users/JRHeaton/repos","events_url":"https://api.github.com/users/JRHeaton/events{/privacy}","received_events_url":"https://api.github.com/users/JRHeaton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-10-07T15:17:15Z","updated_at":"2015-10-08T15:49:15Z","closed_at":null,"body":"Hi there. I've noticed that this library is set up to resolve its own dependencies via CocoaPods, but shares the Pod project's framework targets to be built as shared so that Carthage can see them. So far so good.\r\n\r\nThe \"issue\" is that when installing Moya via Carthage, if you were to simply list Moya itself as a dependency, it will not fetch for example, Alamofire, which is a mandatory dependency of Moya.\r\n\r\nThus, our app that uses Moya must have the following entries in the Cartfile (since we also use ReactiveMoya):\r\n```\r\ngithub \"Alamofire/Alamofire\" ~> 2.0.2\r\ngithub \"Moya/Moya\"\t ~> 2.4.1\r\ngithub \"ReactiveCocoa/ReactiveCocoa\" \"swift2\"\r\n```\r\n\r\nI think this can _possibly_ be remedied by including a Cartfile for Moya in the root of the repository that lists the dependencies. It won't need to be used obviously during development of Moya, but will provide a way for Carthage to know which deps to download + build. At the very least, I feel like this should be detailed in the README so that people don't have to debug this."},"comment":{"url":"https://api.github.com/repos/Moya/Moya/issues/comments/146585251","html_url":"https://github.com/Moya/Moya/issues/246#issuecomment-146585251","issue_url":"https://api.github.com/repos/Moya/Moya/issues/246","id":146585251,"user":{"login":"gregpardo","id":903438,"avatar_url":"https://avatars.githubusercontent.com/u/903438?v=3","gravatar_id":"","url":"https://api.github.com/users/gregpardo","html_url":"https://github.com/gregpardo","followers_url":"https://api.github.com/users/gregpardo/followers","following_url":"https://api.github.com/users/gregpardo/following{/other_user}","gists_url":"https://api.github.com/users/gregpardo/gists{/gist_id}","starred_url":"https://api.github.com/users/gregpardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregpardo/subscriptions","organizations_url":"https://api.github.com/users/gregpardo/orgs","repos_url":"https://api.github.com/users/gregpardo/repos","events_url":"https://api.github.com/users/gregpardo/events{/privacy}","received_events_url":"https://api.github.com/users/gregpardo/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T15:49:15Z","updated_at":"2015-10-08T15:49:15Z","body":"So it looks like anyone using Carthage has to install Alamofire, Moya, ReactiveCocoa, RxSwift, ReactiveMoya, and RxMoya it seems. Is that correct?"}}