sebastienwindal / FRDStravaClient

Objective-C Strava API client
MIT License
61 stars 32 forks source link

FRDStravaClient install failed using cocoapods #5

Open ChenJian345 opened 8 years ago

ChenJian345 commented 8 years ago

I am using cocoapods install FRDStravaClient, Podfile as below,

pod 'AFNetworking',                 '~> 3.1.0'      # AFNetworking

pod 'FMDB',                         '~> 2.6'        # FMDB

...

pod 'FRDStravaClient',              '~> 1.0.2'

But error appears, error message as below,

[!] Unable to satisfy the following requirements:

- `AFNetworking (~> 3.1.0)` required by `Podfile`
- `AFNetworking (= 3.1.0)` required by `Podfile.lock`
- `AFNetworking (~> 2.0)` required by `FRDStravaClient (1.0.2)`

I know that's because of the AFNetworking lib, but I am using 3.1.0, higher than the FRDStravaClient required version, why not use lower version?

Anyone knows this, please give me a hand, thanks!

MPieter commented 8 years ago

You can check out this fork: https://github.com/grahamparks/FRDStravaClient

This one is updated to use AFNetworking v3.0+