[英]Unable to install RealmSwift via Cocoapods
我在 OSX 10.11.2,Cocoapod 0.39.0,我正在嘗試在我的應用程序上安裝 RealmSwift。 但是會出現這個錯誤:
Analyzing dependencies
[!] Unable to find a specification for `RealmSwift`
順便說一下,這是我的 Podfile:
platform :ios, '8.0'
use_frameworks!
target 'RealmApp' do
pod 'RealmSwift'
end
謝謝你的幫助!
搞定了! 我不得不指定另一個來源,因為它在 Cocoapod 下找不到它。
以下是我所做的更改:
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
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.