cocoapods-ykutility 2.0.9 → 3.0.1
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 +10 -0
- data/configPodTemplate/register/objc/YKRPC_POD_NAME/Private/Register/YKRPC_POD_NAMERegisterService.m +1 -1
- data/lib/cocoapods-ykutility/gem_version.rb +1 -1
- data/podTemplate/example/Podfile +8 -0
- data/podTemplate/register/objc/YKRPC_POD_NAME/Private/Register/YKRPC_POD_NAMERegisterService.m +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9048ab1db0b7820494baf7ef624a80bc8121649c5348f077c4d65ed47e8bac17
|
4
|
+
data.tar.gz: 711e363a0e5866a7e1db4afcedec1d0d0d65d455be98b708230da2cb378f4cba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2bb6c9bdf2bb487a1f34bc2ddb248449f64354985b9fb1163ce56c1ed1a9f3c325906ce1b381739a0060976dae2cbd9977cdb91fefee8bb1bec9ed17390bab2
|
7
|
+
data.tar.gz: 2b655493ab767f764cf14de1bc23499163e65e8617c99b77d0e41f53a2f2946c355671671f98a0779f52bdf156985e9b9e5ad0866f3e194ea378f6ef87aa0867
|
@@ -44,6 +44,13 @@ target 'NotificationService' do
|
|
44
44
|
|
45
45
|
end
|
46
46
|
|
47
|
+
|
48
|
+
def pod_string_item_appen(item_str, append_str)
|
49
|
+
item_str = item_str.blank? ? "" : item_str
|
50
|
+
item_str << append_str
|
51
|
+
return item_str
|
52
|
+
end
|
53
|
+
|
47
54
|
# cocoapods pod install hook
|
48
55
|
post_install do |installer|
|
49
56
|
# 添加创建时候类前缀
|
@@ -52,6 +59,9 @@ post_install do |installer|
|
|
52
59
|
installer.pods_project.build_configurations.each do |config|
|
53
60
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
|
54
61
|
config.build_settings['CLANG_WARN_DOCUMENTATION_COMMENTS'] = 'NO'
|
62
|
+
# xcode15 支持 c++旧版链接器
|
63
|
+
# items_append = "$(inherited) -ld64 -ld_classic"
|
64
|
+
# config.build_settings['OTHER_LDFLAGS'] = pod_string_item_appen(config.build_settings['OTHER_LDFLAGS'], items_append)
|
55
65
|
end
|
56
66
|
|
57
67
|
# 单个target编辑配置
|
data/configPodTemplate/register/objc/YKRPC_POD_NAME/Private/Register/YKRPC_POD_NAMERegisterService.m
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
@interface YKRPC_POD_NAMERegisterService()<STModuleServiceRegisterProtocol> //xxxxServiceProtocol
|
12
12
|
@end
|
13
|
-
@implementation
|
13
|
+
@implementation YKRPC_POD_NAMERegisterService
|
14
14
|
|
15
15
|
+ (void)stModuleServiceRegistAction {
|
16
16
|
// stModuleServiceRegisterExecute(SUAdvertisementServiceRegister.class, @protocol(SUAdvertisementServiceProtocol), nil);
|
data/podTemplate/example/Podfile
CHANGED
@@ -33,6 +33,11 @@ target 'YKRPC_POD_NAME_Example' do
|
|
33
33
|
|
34
34
|
end
|
35
35
|
|
36
|
+
def pod_string_item_appen(item_str, append_str)
|
37
|
+
item_str = item_str.blank? ? "" : item_str
|
38
|
+
item_str << append_str
|
39
|
+
return item_str
|
40
|
+
end
|
36
41
|
|
37
42
|
# cocoapods pod install hook
|
38
43
|
post_install do |installer|
|
@@ -42,6 +47,9 @@ post_install do |installer|
|
|
42
47
|
installer.pods_project.build_configurations.each do |config|
|
43
48
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
|
44
49
|
config.build_settings['CLANG_WARN_DOCUMENTATION_COMMENTS'] = 'NO'
|
50
|
+
# xcode15 支持 c++旧版链接器
|
51
|
+
# items_append = "$(inherited) -ld64 -ld_classic"
|
52
|
+
# config.build_settings['OTHER_LDFLAGS'] = pod_string_item_appen(config.build_settings['OTHER_LDFLAGS'], items_append)
|
45
53
|
end
|
46
54
|
|
47
55
|
# 单个target编辑配置
|
data/podTemplate/register/objc/YKRPC_POD_NAME/Private/Register/YKRPC_POD_NAMERegisterService.m
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
@interface YKRPC_POD_NAMERegisterService()<STModuleServiceRegisterProtocol> //xxxxServiceProtocol
|
12
12
|
@end
|
13
|
-
@implementation
|
13
|
+
@implementation YKRPC_POD_NAMERegisterService
|
14
14
|
|
15
15
|
+ (void)stModuleServiceRegistAction {
|
16
16
|
// stModuleServiceRegisterExecute(SUAdvertisementServiceRegister.class, @protocol(SUAdvertisementServiceProtocol), nil);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-ykutility
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- stephen.chen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jazzy
|