[英]Cocoapods pod file install not working “Unable to find a specification for `RealmSwift (~> 0.97)`” swift
我正在嘗試Unable to find a specification for RealmSwift (~> 0.97)
安裝Realm,期望終端不斷向我顯示此錯誤: Unable to find a specification for RealmSwift (~> 0.97)
。 我的Pod文件已經按照他們的建議進行了完全布置。 這是我的pod文件:
target 'AppName' do
use_frameworks!
pod 'RealmSwift', '~> 0.97'
end
target 'AppName Tests' do
use_frameworks!
pod 'RealmSwift', '~> 0.97'
end
target 'AppName UITests' do
end
target 'AppName Keyboatd' do
end
target 'AppName Keyboard' do
end
我只是在Realm Objective-C上嘗試過,對我來說效果很好。 那很奇怪。
由於該版本實際上被稱為“ 0.97.0”,因此可能有必要包含額外的“ .0”。
或者,是否完全有必要在其中包含版本說明符? 您可以直接關閉它,然后仍然會獲得最新版本的Realm(幾天前發布了0.97.1!)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.