i'm at OSX 10.11.2, Cocoapod 0.39.0, and I'm trying to install RealmSwift on my app. However this error occurs:
Analyzing dependencies
[!] Unable to find a specification for `RealmSwift`
Here's my Podfile by the way:
platform :ios, '8.0'
use_frameworks!
target 'RealmApp' do
pod 'RealmSwift'
end
Thanks for your help!
Got it working! I had to specify another source since it can't find it under Cocoapod.
Here are the changes I made:
platform :ios, '8.0'
use_frameworks!
target 'MyApp' do
pod 'Realm', :git => 'http://github.com/realm/realm-cocoa.git', :branch => 'swift-2.0'
pod 'RealmSwift', :git => 'http://github.com/realm/realm-cocoa.git', :branch => 'swift-2.0'
end
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.