質問編集履歴

1

追記

2018/08/29 01:25

投稿

Hayato1201
Hayato1201

スコア220

test CHANGED
File without changes
test CHANGED
@@ -37,3 +37,67 @@
37
37
  end
38
38
 
39
39
  ```
40
+
41
+
42
+
43
+ ------------追記ーーーーーーーーーー
44
+
45
+
46
+
47
+ バージョン指定しようと以下の様にしました。
48
+
49
+
50
+
51
+ ```pod
52
+
53
+ platform :ios, '10.0'
54
+
55
+ target 'life_log' do
56
+
57
+
58
+
59
+ use_frameworks!
60
+
61
+
62
+
63
+
64
+
65
+ pod 'PopupWindow','~>0.2.17'
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+ end
74
+
75
+ ```
76
+
77
+ すると以下の様なエラーが出ます
78
+
79
+
80
+
81
+
82
+
83
+ [!] CocoaPods could not find compatible versions for pod "PopupWindow":
84
+
85
+ In Podfile:
86
+
87
+ PopupWindow (~> 0.2.17)
88
+
89
+
90
+
91
+ None of your spec sources contain a spec satisfying the dependency: `PopupWindow (~> 0.2.17)`.
92
+
93
+
94
+
95
+ You have either:
96
+
97
+ * mistyped the name or version.
98
+
99
+ * not added the source repo that hosts the Podspec to your Podfile.
100
+
101
+
102
+
103
+ Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.