Skander Fathallah
Skander Fathallah

Reputation: 503

Cocoa Pods error with pod install

[!] Unable to satisfy the following requirements:

Specs satisfying the Google/SignIn dependency were found, but they required a higher minimum deployment target.

Specs satisfying the Google/SignIn dependency were found, but they required a higher minimum deployment target.

Specs satisfying the Google/SignIn dependency were found, but they required a higher minimum deployment target.

Specs satisfying the Google/SignIn dependency were found, but they required a higher minimum deployment target.

Specs satisfying the Google/SignIn (= 1.3.2) dependency were found, but they required a higher minimum deployment target.

Upvotes: 35

Views: 40402

Answers (10)

yoAlex5
yoAlex5

Reputation: 34461

Cocoapods error

dependency were found, but they required a higher minimum deployment target

When .podfile

platform :ios, '<version>'

is not equal to .podspec

<variable>.platform = :ios, "<version>"

[Local CocoaPod]

Upvotes: 7

ΞΫΛL
ΞΫΛL

Reputation: 204

What solved it for me was

pod repo update

as the error details suggested

Upvotes: 1

Ryker
Ryker

Reputation: 577

I went to my Podfile and changed my deployment target to the highest one that was in my Pods/Local Podspecs

Upvotes: 4

ch271828n
ch271828n

Reputation: 17643

For me, my minimum target is already high enough. I need a pod update ThePackageName (WARN: this will change the version you are using). See https://github.com/CocoaPods/CocoaPods/issues/4373 for more details.

Upvotes: 1

Winner
Winner

Reputation: 45

I solved via:

pod 'Alamofire', '~4.0'

To

pod 'Alamofire'

Upvotes: 1

Juanpablo Macias
Juanpablo Macias

Reputation: 61

I solved the problem. I selected my project at the top of my project navigator -> General -> Deployment info -> Deployment Target -> (Set the the most current)

Upvotes: 2

Ashildr
Ashildr

Reputation: 1813

Your deployment target has to be moved up to the highest minimum target required by any dependency. enter image description here Also, make sure the global platform in your Podfile matches the highest minimum target required by any dependency.

Upvotes: 68

Skander Fathallah
Skander Fathallah

Reputation: 503

i solved it by removing my Google/SignIn version and installing again my pods.

Upvotes: 1

Pankaj
Pankaj

Reputation: 397

I think Google/SignIn SDK supports iOS7 or later. Try a higher minimum deployment target.

Upvotes: 0

diatrevolo
diatrevolo

Reputation: 2822

It's pretty self-explanatory. Your deployment target has to be moved up to the highest minimum target required by any dependency. Check what iOS version Google/SignIn requires. If this checks out, make sure all your deployment targets set a satisfactory minimum target version.

Upvotes: 1

Related Questions