cocoapods-ykutility 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b31f493444f29c1128661d8ff10815069416d8496760131e3a82a8110ec8be96
4
- data.tar.gz: 6b2456ef51108fe0ff37740d3219a261e57d42f97b980f96a5659dd8e552bf5b
3
+ metadata.gz: 9048ab1db0b7820494baf7ef624a80bc8121649c5348f077c4d65ed47e8bac17
4
+ data.tar.gz: 711e363a0e5866a7e1db4afcedec1d0d0d65d455be98b708230da2cb378f4cba
5
5
  SHA512:
6
- metadata.gz: bc3ef636fe68e9c633883f9a17559337f11aa582082fae882452b77ed18a9089ebe074e6a88cde184e87d83d5007df16a451ae6f086d75e3c950554c7798e624
7
- data.tar.gz: a53213d7df107cb19e261fc709a820a8ebd505104a4050721b76d1e93dd00575f68e3684e12555a0ee59e5126643040185d549fc0baacec2e13dccedf27cfa89
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编辑配置
@@ -1,5 +1,5 @@
1
1
  module CocoapodsYkPodUtility
2
- VERSION = '3.0.0'
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编辑配置
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-ykutility
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - stephen.chen