以下のURLのモジュールをpod 'PopupWindow'でインストールして使おうとしています。
https://github.com/shin8484/PopupWindow
しかしインストールされたPopupWindowの中身と、gitからcloneしてきた中身が違います。いくつかは同じですが、podに入っている方は足りなかったり、スペルミスの様なファイルもありました。これはなぜでしょうか?
因みにpodファイルは以下の様にし、pod updateしました。
pod
1platform :ios, '10.0' 2target 'life_log' do 3 4 use_frameworks! 5 6 7 pod 'PopupWindow' 8 9 10 11end
------------追記ーーーーーーーーーー
バージョン指定しようと以下の様にしました。
pod
1platform :ios, '10.0' 2target 'life_log' do 3 4 use_frameworks! 5 6 7 pod 'PopupWindow','~>0.2.17' 8 9 10 11end
すると以下の様なエラーが出ます
[!] CocoaPods could not find compatible versions for pod "PopupWindow":
In Podfile:
PopupWindow (~> 0.2.17)
None of your spec sources contain a spec satisfying the dependency: PopupWindow (~> 0.2.17)
.
You have either:
- mistyped the name or version.
- not added the source repo that hosts the Podspec to your Podfile.
Note: as of CocoaPods 1.0, pod repo update
does not happen on pod install
by default.
回答1件
あなたの回答
tips
プレビュー