{"action":"created","issue":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3348","labels_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3348/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3348/comments","events_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3348/events","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3348","id":65682379,"number":3348,"title":"Provide a better error explanation when a pod only has prerelease versions","user":{"login":"alloy","id":2320,"avatar_url":"https://avatars.githubusercontent.com/u/2320?v=3","gravatar_id":"","url":"https://api.github.com/users/alloy","html_url":"https://github.com/alloy","followers_url":"https://api.github.com/users/alloy/followers","following_url":"https://api.github.com/users/alloy/following{/other_user}","gists_url":"https://api.github.com/users/alloy/gists{/gist_id}","starred_url":"https://api.github.com/users/alloy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alloy/subscriptions","organizations_url":"https://api.github.com/users/alloy/orgs","repos_url":"https://api.github.com/users/alloy/repos","events_url":"https://api.github.com/users/alloy/events{/privacy}","received_events_url":"https://api.github.com/users/alloy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/d2:moderate","name":"d2:moderate","color":"40741F"},{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/s3:detailed","name":"s3:detailed","color":"E28C2C"},{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/labels/t1:enhancement","name":"t1:enhancement","color":"02AFE1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-01T13:18:16Z","updated_at":"2015-04-01T13:48:13Z","closed_at":null,"body":":rainbow: \r\n\r\nConsider the following Podfile:\r\n\r\n```ruby\r\nplatform :ios, '7.0'\r\npod 'GoogleAds-IMA-iOS-SDK-For-AdMob'\r\n```\r\n\r\nThis results in the following:\r\n\r\n```\r\n$ pod install\r\n[!] Unable to satisfy the following requirements:\r\n\r\n- 'GoogleAds-IMA-iOS-SDK-For-AdMob' required by 'Podfile'\r\n```\r\n\r\nThe reason for it not being satisfiable is that currently there are only prerelease versions of this pod and the Podfile does’t indicate that prerelease versions are acceptable. Changing to the following does work:\r\n\r\n```ruby\r\npod 'GoogleAds-IMA-iOS-SDK-For-AdMob', '> 3.0.beta.0'\r\n```\r\n\r\nIn the case where a pod does exist, but none can be activated because they’re all prelease versions, CocoaPods should print an error like:\r\n\r\n> Unable to activate any GoogleAds-IMA-iOS-SDK-For-AdMob version, because there are only prerelease versions available: 3.0.beta.5, 3.0.beta.6, 3.0.beta.7, 3.0.beta.8, 3.0.beta.9, 3.0.beta.10, 3.0.beta.11, and 3.0.beta.12.\r\n>\r\n> To be able to use any of these versions, your Podfile should indicate that a prerelease version is acceptable, e.g.:\r\n>\r\n>     pod 'GoogleAds-IMA-iOS-SDK-For-AdMob', '>= 3.0.beta.12'\r\n\r\n/cc @AliSoftware @segiddins"},"comment":{"url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/comments/88487155","html_url":"https://github.com/CocoaPods/CocoaPods/issues/3348#issuecomment-88487155","issue_url":"https://api.github.com/repos/CocoaPods/CocoaPods/issues/3348","id":88487155,"user":{"login":"kylef","id":44164,"avatar_url":"https://avatars.githubusercontent.com/u/44164?v=3","gravatar_id":"","url":"https://api.github.com/users/kylef","html_url":"https://github.com/kylef","followers_url":"https://api.github.com/users/kylef/followers","following_url":"https://api.github.com/users/kylef/following{/other_user}","gists_url":"https://api.github.com/users/kylef/gists{/gist_id}","starred_url":"https://api.github.com/users/kylef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylef/subscriptions","organizations_url":"https://api.github.com/users/kylef/orgs","repos_url":"https://api.github.com/users/kylef/repos","events_url":"https://api.github.com/users/kylef/events{/privacy}","received_events_url":"https://api.github.com/users/kylef/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T13:48:13Z","updated_at":"2015-04-01T13:48:13Z","body":"Just also to point out, this error could also come from a pod's dependencies, example `MIHCrypto` depends on `OpenSSL-Universal`."}}