cocoapods-bb-PodAssistant 0.3.4 → 0.3.4.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cb1620da707059b6751898437a2d4837830ce6cf94cba2ca1f525cff705aa48
|
4
|
+
data.tar.gz: d60d9c262995ee3428109e7ae45946a2a71146bb2980c5877215a66638bf4b6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f92ede5c2633d935eeaa2c95249f1bb9cef39deec1280714afba2a106e574e1e474dacd21ae156e10c317233986a664de2346efb71866fbef8f028154ca822b6
|
7
|
+
data.tar.gz: 296805843d60a6900a3c568ede7123aeb6d04c572b693752dc38d4c08653050baa03393334f3b69b4cf54b7cd485d1f6964e7b67b68c68d4788629f278dc5003
|
@@ -66,6 +66,12 @@ class PodPostInstaller
|
|
66
66
|
end
|
67
67
|
otherLink_setting_value = config.build_settings['OTHER_LDFLAGS']
|
68
68
|
puts "#{target.name}-#{config.name} Build Setting 'OTHER_LDFLAGS' Value: #{otherLink_setting_value}"
|
69
|
+
|
70
|
+
# 配置工程最低部署
|
71
|
+
origin_value = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET']
|
72
|
+
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = ios_deployment_target.to_s
|
73
|
+
new_value = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET']
|
74
|
+
puts "#{target.name}-#{config.name} Build Setting 'IPHONEOS_DEPLOYMENT_TARGET' deployment target: #{origin_value} => #{new_value}"
|
69
75
|
end
|
70
76
|
end
|
71
77
|
end
|
@@ -640,26 +640,51 @@ module BB
|
|
640
640
|
internal_data = lockfile.internal_data
|
641
641
|
pods = internal_data['PODS']
|
642
642
|
dependencies = lockfile.dependencies
|
643
|
+
all_dependency_pods = podfile_lock_pods
|
643
644
|
buss_pod_names.each do | buss_pod_name |
|
644
645
|
local_specs = {}
|
645
|
-
dependency_pods_list =
|
646
|
+
dependency_pods_list = []
|
646
647
|
dependency_pods_list.insert(0, "#{buss_pod_name}") # 需要添加自己控制组件
|
648
|
+
pod_list = all_dependency_pods[buss_pod_name]
|
649
|
+
if pod_list
|
650
|
+
dependency_pods_list.concat(pod_list) # 需要添加自己控制组件
|
651
|
+
pod_list.each do | dependency_pod_name |
|
652
|
+
if has_pod_subspec(dependency_pod_name, buss_pod_name)
|
653
|
+
# 依赖core subspec
|
654
|
+
sub_pod_list = all_dependency_pods[dependency_pod_name]
|
655
|
+
if sub_pod_list
|
656
|
+
dependency_pods_list.concat(sub_pod_list) # 需要添加自己控制组件
|
657
|
+
end
|
658
|
+
end
|
659
|
+
end
|
660
|
+
end
|
661
|
+
# 可能需要依赖组件库,包含subspec
|
662
|
+
dependencies.each do | dependency |
|
663
|
+
dependency_pod_name = dependency.name
|
664
|
+
if has_pod_subspec(dependency_pod_name, buss_pod_name)
|
665
|
+
dependency_pods_list.insert(dependency_pods_list.length, "#{dependency_pod_name}") # 需要添加自己控制组件
|
666
|
+
pod_list = all_dependency_pods[dependency_pod_name]
|
667
|
+
if pod_list
|
668
|
+
dependency_pods_list.concat(pod_list) # 需要添加自己控制组件
|
669
|
+
end
|
670
|
+
end
|
671
|
+
end
|
647
672
|
dependency_pods_list.each do | pod_name |
|
648
673
|
# 指向标签版本
|
649
674
|
version = lockfile.version(pod_name).to_s
|
650
675
|
if !version.empty?
|
651
676
|
local_specs[pod_name] = version
|
677
|
+
# puts "pod_name:#{pod_name} version:#{version}".red
|
652
678
|
end
|
653
679
|
# dependencies依赖数据
|
654
680
|
dependencies.each do | dependency |
|
655
|
-
|
656
|
-
|
657
|
-
if
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
end
|
681
|
+
dependency_pod_name = dependency.name
|
682
|
+
if dependency_pod_name == pod_name
|
683
|
+
if dependency.external_source.is_a? Hash
|
684
|
+
# 指向分支
|
685
|
+
external_source = dependency.external_source
|
686
|
+
local_specs[pod_name] = external_source
|
687
|
+
# puts "pod_name:#{pod_name} external_source:#{external_source}"
|
663
688
|
end
|
664
689
|
end
|
665
690
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-bb-PodAssistant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.4
|
4
|
+
version: 0.3.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- humin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods-core
|