cocoapods-ykutility 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/configPodTemplate/example/Podfile +17 -2
- data/lib/cocoapods-ykutility/gem_version.rb +1 -1
- data/podTemplate/example/Podfile +16 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1263c27bfc794451db4c0479d89b49f4ec8397e0bbff5f4c05f29566fb898c8c
|
4
|
+
data.tar.gz: 19d3426ac5f347149840c29c0c2b7bfd9f3862c0b2c95f0facbd98bbc7e75544
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 367d9129c599ac9b6356a617f9633c4e2e1077a64326b75c6a80ff0028e46c4936ddfec8dcc197de250eb0070e1e0d197fa9919d6ac96e42bbf0043c2dca815f
|
7
|
+
data.tar.gz: 99b84dccb596e46cedd299a86e8d9aed648ba254ae89c55dd31afeb4aa1959e945acdb1ddf261af020543a2543c71765820682497b1bc68a621c0eceaff3cf33
|
@@ -12,10 +12,25 @@ inhibit_all_warnings!
|
|
12
12
|
use_frameworks! :linkage => :static # 使用 framework形势的静态库, 注释可变为.a 静态库
|
13
13
|
use_modular_headers! #此字段用于pod自动生成 swift module 伞文件
|
14
14
|
|
15
|
+
|
16
|
+
def st_installLocalPods(dir, arr)
|
17
|
+
arr.each do |onePod|
|
18
|
+
pod onePod, :path => File.join(dir, onePod)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
def pod_develop
|
23
|
+
dir = '../'
|
24
|
+
arr = [
|
25
|
+
'YKRPC_POD_NAME'
|
26
|
+
]
|
27
|
+
st_installLocalPods(dir, arr)
|
28
|
+
end
|
29
|
+
|
15
30
|
project 'YKRPC_POD_NAME_Example.xcodeproj'
|
16
31
|
target 'YKRPC_POD_NAME_Example' do
|
17
32
|
# Pods for YKRPC_POD_NAME_Example
|
18
|
-
|
33
|
+
pod_develop
|
19
34
|
|
20
35
|
end
|
21
36
|
|
@@ -50,4 +65,4 @@ post_install do |installer|
|
|
50
65
|
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
|
51
66
|
end
|
52
67
|
end
|
53
|
-
end
|
68
|
+
end
|
data/podTemplate/example/Podfile
CHANGED
@@ -12,10 +12,24 @@ inhibit_all_warnings!
|
|
12
12
|
use_frameworks! :linkage => :static # 使用 framework形势的静态库, 注释可变为.a 静态库
|
13
13
|
use_modular_headers! #此字段用于pod自动生成 swift module 伞文件
|
14
14
|
|
15
|
+
def st_installLocalPods(dir, arr)
|
16
|
+
arr.each do |onePod|
|
17
|
+
pod onePod, :path => File.join(dir, onePod)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def pod_develop
|
22
|
+
dir = '../'
|
23
|
+
arr = [
|
24
|
+
'YKRPC_POD_NAME'
|
25
|
+
]
|
26
|
+
st_installLocalPods(dir, arr)
|
27
|
+
end
|
28
|
+
|
15
29
|
project 'YKRPC_POD_NAME_Example.xcodeproj'
|
16
30
|
target 'YKRPC_POD_NAME_Example' do
|
17
31
|
# Pods for YKRPC_POD_NAME_Example
|
18
|
-
|
32
|
+
pod_develop
|
19
33
|
|
20
34
|
end
|
21
35
|
|
@@ -41,4 +55,4 @@ post_install do |installer|
|
|
41
55
|
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
|
42
56
|
end
|
43
57
|
end
|
44
|
-
end
|
58
|
+
end
|