dirkfabisch / Dxtr

iOS App for reading Dexcom sensor data
26 stars 20 forks source link

pod install Error #10

Open someoneAnyone opened 9 years ago

someoneAnyone commented 9 years ago

After cloning the project and running pod install, I got the following error.

[!] A dependency with an external source may not specify version requirements (QueryKit/Swift).

would the following work ok? it seemed to calm the error message. pod 'QueryKit/Swift', :git => 'https://github.com/QueryKit/QueryKit'

dirkfabisch commented 9 years ago

I don't see a problem on my installation:

With this podfile

platform :ios, '8.0'

link_with 'Dxtr', 'DxtrTests'

use_frameworks!

pod 'QueryKit/Swift', '>= 0.9.2'
pod 'Alamofire', '~> 1.1'
pod 'CryptoSwift', '~> 0.0'

use_frameworks!

/usr/bin/pod update

Update all pods Analyzing dependencies

CocoaPods 0.37.0.beta.1 is available. To update use: gem install cocoapods --pre [!] This is a test version we'd love you to try.

For more information see http://blog.cocoapods.org and the CHANGELOG for this version http://git.io/BaH8pQ.

Downloading dependencies Using Alamofire (1.2.0) Installing CryptoSwift 0.0.10 (was 0.0.9) Using QueryKit (0.9.2) Generating Pods project Integrating client project

rickfriele commented 9 years ago

pod install failing for me too which the latest version of Cocoapods

someoneAnyone commented 9 years ago

@dirkfabisch , your podfile (above) looks different than what is currently available at master in GitHub.

Dxtr/Podfile

dirkfabisch commented 9 years ago

It could be, because I had some issues with the Swift 1.2 migration. I will double check this.

ps2 commented 9 years ago

I'm having this same issue. Any updates? Which branch should we be using when running Xcode 6.3?

ps2 commented 9 years ago

Added a pull request (#12) that fixes the issue by increasing the version requirements of the pod depencies to Swift 1.2 compatible versions.