cocoapods-bb-xcframework 0.2.0 → 0.2.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: 5e88b2bd7f6366b8ae972cff3c8fa603a7ed878b81b90b8820967f1572e47e52
4
- data.tar.gz: bacf8b9ae537bab39b094555c0eb593b46770d4ef19db2a2f4a98119aaba6bbc
3
+ metadata.gz: da22b9bd9e4143282a7d36cf38643b76226d25bc6ffc203ba3ee9139ff7f5111
4
+ data.tar.gz: 62de8d3533817f793a9028ff6cb54d79e7e10f008aa61a86926c2aae3ceb6461
5
5
  SHA512:
6
- metadata.gz: ab65288f3ff8891af5f60bf0d9ab628d427b2f7d14bb8db707b57dffc3c02eb1be7c7c98b696f571b3156715c04ef234c5ea83bdc52b5ff017819c59131cf96e
7
- data.tar.gz: cdc4f5c8546499d55f870d26a8fa5e60221574618709d5a047f2036681cdb750e0f2d08bfb4fe826765b7a50a8c8418c25453208a5c8587fb5745afd58036c4a
6
+ metadata.gz: 13f2be4aa49034fb2238cbefd36b64c1609d8b3656d3a33be4ad3e34a520c5b1369d35b6a23d13130c61d8de8fa17f884ca0b7979c1aebd97f28c0479eb34d7d
7
+ data.tar.gz: fede30f63e0e60d09cee70ae9ed43bbab26063155095c1192df3e04db7f0041f45c4f8fc9bddab0010667e1994ec2361cf873adcd6705cc872ce3cced9df3fa6
@@ -1,3 +1,3 @@
1
1
  module CocoapodsXCFramework
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -84,6 +84,9 @@ module Pod
84
84
  configuration.build_settings['ENABLE_BITCODE'] = 'YES'
85
85
  configuration.build_settings['BITCODE_GENERATION_MODE'] = 'bitcode'
86
86
  end
87
+ ### support MacCatalyst 默认生成工程不支持 by hm 21/11/3
88
+ configuration.build_settings['SUPPORTS_MACCATALYST'] = 'YES'
89
+ ### support MacCatalyst end
87
90
  end
88
91
  if target.name == spec.name
89
92
  target.build_configurations.each do |configuration|
@@ -117,6 +120,9 @@ module Pod
117
120
  configuration.build_settings['ENABLE_BITCODE'] = 'YES'
118
121
  configuration.build_settings['BITCODE_GENERATION_MODE'] = 'bitcode'
119
122
  end
123
+ ### support MacCatalyst 默认生成工程不支持 by hm 21/11/3
124
+ configuration.build_settings['SUPPORTS_MACCATALYST'] = 'YES'
125
+ ### support MacCatalyst end
120
126
  end
121
127
  if specs.include? target.name
122
128
  target.build_configurations.each do |configuration|
@@ -24,11 +24,12 @@ module Pod
24
24
  skip_install = 'NO'
25
25
  end
26
26
  if not project.nil?
27
- if not scheme.nil?
28
- command = "xcodebuild #{defines} BUILD_DIR=#{build_dir} BUILD_LIBRARY_FOR_DISTRIBUTION=YES clean build -configuration #{configuration} -project '#{project}' -scheme '#{scheme}' -destination '#{destination}' ARCHS='#{archs}' SKIP_INSTALL=#{skip_install} | xcpretty 2>&1"
29
- else
30
- command = "xcodebuild #{defines} BUILD_DIR=#{build_dir} BUILD_LIBRARY_FOR_DISTRIBUTION=YES clean build -configuration #{configuration} -alltargets -scheme '#{scheme}' -destination '#{destination}' ARCHS='#{archs}' SKIP_INSTALL=#{skip_install} | xcpretty 2>&1"
31
- end
27
+ # if not scheme.nil?
28
+ # command = "xcodebuild #{defines} BUILD_DIR=#{build_dir} BUILD_LIBRARY_FOR_DISTRIBUTION=YES clean build -configuration #{configuration} -project '#{project}' -scheme '#{scheme}' -destination '#{destination}' ARCHS='#{archs}' SKIP_INSTALL=#{skip_install} | xcpretty 2>&1"
29
+ # else
30
+ # command = "xcodebuild #{defines} BUILD_DIR=#{build_dir} BUILD_LIBRARY_FOR_DISTRIBUTION=YES clean build -configuration #{configuration} -alltargets -scheme '#{scheme}' -destination '#{destination}' ARCHS='#{archs}' SKIP_INSTALL=#{skip_install} | xcpretty 2>&1"
31
+ # end
32
+ command = "xcodebuild #{defines} BUILD_DIR=#{build_dir} BUILD_LIBRARY_FOR_DISTRIBUTION=YES clean build -configuration #{configuration} -alltargets -scheme '#{scheme}' -destination '#{destination}' ARCHS='#{archs}' SKIP_INSTALL=#{skip_install} | xcpretty 2>&1"
32
33
  else
33
34
  command = "xcodebuild #{defines} BUILD_DIR=#{build_dir} BUILD_LIBRARY_FOR_DISTRIBUTION=YES clean build -configuration #{configuration} -alltargets -destination '#{destination}' ARCHS='#{archs}' SKIP_INSTALL=#{skip_install} | xcpretty 2>&1"
34
35
  end
@@ -136,11 +136,9 @@ module Pod
136
136
 
137
137
  def build_all_device defines
138
138
  # build general first because simulator will exchange SDKROOT to simulat sdk
139
- if @support_maccatalyst
140
- build_MacCatalyst_device defines
141
- end
142
139
  build_general_device defines
143
140
  build_simulator_device defines
141
+ build_MacCatalyst_device defines if @support_maccatalyst
144
142
  end
145
143
 
146
144
  def build_general_device defines
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-bb-xcframework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - humin