Reputation: 69
I'm trying to use Realm with Swift 2.0 My Podfile is pretty simple:
source 'https://github.com/CocoaPods/Specs.git'
pod 'AWSS3', '~> 2.2.0'
# Realm Frameworks
use_frameworks!
pod 'RealmSwift', :git => 'https://github.com/realm/realm-cocoa.git', :branch => 'swift-2.0'
But I'm getting
[!] Unable to satisfy the following requirements:
- `RealmSwift (from `https://github.com/realm/realm-cocoa.git`, branch `swift-2.0`)` required by `Podfile`
The Podfile looks well formed to me. I'd appreciate any help.
Upvotes: 1
Views: 1239
Reputation: 10573
swift-2.0
branch already has been merged into master a few weeks ago. Since Swift 2 was released officially. So you no longer need to specify swift-2.0
branch if you use latest toolchains. You can just write pod 'RealmSwift'
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
pod 'AWSS3', '~> 2.2.0'
pod 'RealmSwift'
Upvotes: 1