{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4921","repository_url":"https://api.github.com/repos/CocoaPods/CocoaPods","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4921/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4921/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4921/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/4921","id":135298873,"number":4921,"title":"How can i add the private dependency to podspec file?","user":{"login":"nghiaphunguyen","id":8790240,"avatar_url":"https://avatars.githubusercontent.com/u/8790240?v=3","gravatar_id":"","url":"https://api.github.com/users/nghiaphunguyen","html_url":"https://github.com/nghiaphunguyen","followers_url":"https://api.github.com/users/nghiaphunguyen/followers","following_url":"https://api.github.com/users/nghiaphunguyen/following{/other_user}","gists_url":"https://api.github.com/users/nghiaphunguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/nghiaphunguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nghiaphunguyen/subscriptions","organizations_url":"https://api.github.com/users/nghiaphunguyen/orgs","repos_url":"https://api.github.com/users/nghiaphunguyen/repos","events_url":"https://api.github.com/users/nghiaphunguyen/events{/privacy}","received_events_url":"https://api.github.com/users/nghiaphunguyen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-22T02:56:09Z","updated_at":"2016-02-22T03:32:35Z","closed_at":"2016-02-22T02:57:04Z","body":"I try to add a dependency from private repo to podspec. But it doesn't work.\r\n\r\nAfter run the command > pod repo push MyLib MyLib.podspec\r\n[!] Invalid `MyLib.podspec` file: [!] Unsupported version requirements. Updating CocoaPods might fix the issue.\r\n\r\n #  from MyLib.podspec:16\r\n #  -------------------------------------------\r\n #    s.dependency 'ReachabilitySwift'\r\n >    s.dependency 'MyPrivateLib', :git => 'https://bitbucket.org/nghiaphunguyen/myprivatelib'\r\n #  -------------------------------------------\r\n\r\nP/S: MyPrivateLib posted to the cocoapod via. https://guides.cocoapods.org/making/private-cocoapods.html\r\n\r\nNghia,\r\nThanks"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/186987029","html_url":"https://github.com/CocoaPods/CocoaPods/issues/4921#issuecomment-186987029","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/4921","id":186987029,"user":{"login":"nghiaphunguyen","id":8790240,"avatar_url":"https://avatars.githubusercontent.com/u/8790240?v=3","gravatar_id":"","url":"https://api.github.com/users/nghiaphunguyen","html_url":"https://github.com/nghiaphunguyen","followers_url":"https://api.github.com/users/nghiaphunguyen/followers","following_url":"https://api.github.com/users/nghiaphunguyen/following{/other_user}","gists_url":"https://api.github.com/users/nghiaphunguyen/gists{/gist_id}","starred_url":"https://api.github.com/users/nghiaphunguyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nghiaphunguyen/subscriptions","organizations_url":"https://api.github.com/users/nghiaphunguyen/orgs","repos_url":"https://api.github.com/users/nghiaphunguyen/repos","events_url":"https://api.github.com/users/nghiaphunguyen/events{/privacy}","received_events_url":"https://api.github.com/users/nghiaphunguyen/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T03:32:35Z","updated_at":"2016-02-22T03:32:35Z","body":"what the format i should use to run the command > pod repo push MyLib MyLib.podspec to add another source?"}}