Wade Sellers
Wade Sellers

Reputation: 333

Pod install YelpAPI issue

I have setup CocoaPods in my project and successfully installed AFNetworking so I know I am good there...

When I try to install 'YelpAPI', I receive this error in my terminal...

[!] The platform of the target ForTheTroops (iOS 9.3) is not compatible with YelpAPI (1.0.3), which does not support ios.

I can't seem to figure out why and I can't find any instructions to set this up properly... even in Yelp's developer site.

Here's a screenshot of my podfile as well.

Podfile

Upvotes: 1

Views: 198

Answers (3)

Wade Sellers
Wade Sellers

Reputation: 333

Update: I worked with Yelp on this and the Podspec file was updated.

Pod 'YelpAPI' works successfully now for iOS.

Upvotes: 1

Mtoklitz113
Mtoklitz113

Reputation: 3878

You're writing pod "YelpApi" which is wrong. You should write pod 'YelpApi'. Notice the " " and ' ' which I've changed.

Edit: It is not available for iOS at all. It's only for OS X.

Upvotes: 0

Idr
Idr

Reputation: 6250

The current podspec can be seen here or by doing a cat $(pod spec which yelpapi) in the terminal.

You can see under platforms that the podspec only supports OSX and not iOS.

Upvotes: 0

Related Questions