cocoapods-ykutility 2.0.9 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1e293fc015777458ae786c636afa1aa6587b9c216ed3b335b94bd77505d9b6e
4
- data.tar.gz: ec9154c5160ff567679e394b8b70b9d0bd2ece8d929619decd99031b574f3a48
3
+ metadata.gz: 9048ab1db0b7820494baf7ef624a80bc8121649c5348f077c4d65ed47e8bac17
4
+ data.tar.gz: 711e363a0e5866a7e1db4afcedec1d0d0d65d455be98b708230da2cb378f4cba
5
5
  SHA512:
6
- metadata.gz: 817a68b9e66edcae186bedc31255623b86b7e77a9edd01d04f7438238676531a00b466c1b6d6ced1807c368449b47acbcedc432afe21d97c6710c10c50f51d57
7
- data.tar.gz: 25b40984458ab63cd96177a25bdac5f156fb86c0725517fb915bbdf78c70cb3cb2045c522aa1525f9243efdd50362613f7886188f1adeb18f1b65787a4e451d5
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编辑配置
@@ -10,7 +10,7 @@
10
10
 
11
11
  @interface YKRPC_POD_NAMERegisterService()<STModuleServiceRegisterProtocol> //xxxxServiceProtocol
12
12
  @end
13
- @implementation SUAdvertisementServiceRegister
13
+ @implementation YKRPC_POD_NAMERegisterService
14
14
 
15
15
  + (void)stModuleServiceRegistAction {
16
16
  // stModuleServiceRegisterExecute(SUAdvertisementServiceRegister.class, @protocol(SUAdvertisementServiceProtocol), nil);
@@ -1,5 +1,5 @@
1
1
  module CocoapodsYkPodUtility
2
- VERSION = '2.0.9'
2
+ VERSION = '3.0.1'
3
3
  YK_POD_TEMPLATE_PATH = File.expand_path(File.join(__FILE__, '../../../podTemplate'))
4
4
  YK_POD_BUSINESS_REGISTER_PATH = File.expand_path(File.join(__FILE__, '../../../podTemplate/register'))
5
5
 
@@ -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编辑配置
@@ -10,7 +10,7 @@
10
10
 
11
11
  @interface YKRPC_POD_NAMERegisterService()<STModuleServiceRegisterProtocol> //xxxxServiceProtocol
12
12
  @end
13
- @implementation SUAdvertisementServiceRegister
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: 2.0.9
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-09 00:00:00.000000000 Z
11
+ date: 2024-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jazzy