pod-builder 6.1.0 → 6.2.0

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: 80ded6f213c9086a27740b25a687db1738b791e3f9558e9cb161d0d7feb4a8c0
4
- data.tar.gz: 0bed40e1d4a6ec73af065c1c1984e876e9a3b38138b6ef2c72aaea3ceefa1708
3
+ metadata.gz: 306492a077037cf3f5d3147f969c0d5a10d7192b6b62b753f976447d295e03e5
4
+ data.tar.gz: 2d02289b4e4916f87b1d46b11a3469f0067f9b904b299b9d0753e270db51b967
5
5
  SHA512:
6
- metadata.gz: f771e31b9761f1b37fd977c4f3528cbf8fa2d17d2c8a11a48ae4c7a410e19318bad8047a6766d345cd8775db8c0c9502490bc24e425bc5210c279cd76362bbd4
7
- data.tar.gz: b24f8bb9aea6f6a8840d9c2b94a129efeb114696aa9cfef5f31748767d6d41667f58a06c5098f6a8ed692c8682a68bac30f3435d3063489b918447a7d8df9e86
6
+ metadata.gz: 0ed234e2e919b8055e3e8e40c5e9e3bcca6722cfd65bc1a5c043748e5d21f487dc9af4eedc20c68913083e52118c76826127862340b691ae902bc97cfa463a3b
7
+ data.tar.gz: 2ad0db58b1c33e415e6591a45dbfae27e47f805adb11be645701896b64a17eaa55a7d86e1b7eaef0b3eab1d933c7dcefe9c304f161405c0c7ea148d2696e363c
data/README.md CHANGED
@@ -322,6 +322,10 @@ Specify which pods PodBuilder should NOT be built as .xcframeworks when `build_x
322
322
 
323
323
  Specify which pods PodBuilder should be built as .xcframeworks. Will enable `library_evolution_support`. Default value: []
324
324
 
325
+ #### `default_build_configuration`
326
+
327
+ Specify the build configuration used to prebuild pods, either `debug` or `release`. Pods that specify a `prebuild_configuration` in the `pod_target_xcconfig` of their podspec (or via `spec_overrides`) are unaffected. Default value: `release`
328
+
325
329
  #### `generate_coverage`
326
330
 
327
331
  Specify if coverage data for use with profiled execution should be generated. Default value: false
@@ -49,6 +49,7 @@ module PodBuilder
49
49
  attr_accessor :build_settings
50
50
  attr_accessor :build_settings_overrides
51
51
  attr_accessor :build_system
52
+ attr_accessor :default_build_configuration
52
53
  attr_accessor :library_evolution_support
53
54
  attr_accessor :base_path
54
55
  attr_accessor :spec_overrides
@@ -91,6 +92,7 @@ module PodBuilder
91
92
 
92
93
  @allow_building_development_pods = false
93
94
  @build_system = "Latest".freeze # either Latest (New build system) or Legacy (Standard build system)
95
+ @default_build_configuration = "release" # either debug or release, overridable per pod via podspec's `prebuild_configuration`
94
96
  @library_evolution_support = false
95
97
  @base_path = "PodBuilder" # Not nice. This value is used only for initial initization. Once config is loaded it will be an absolute path. FIXME
96
98
  @skip_licenses = []
@@ -186,6 +188,10 @@ module PodBuilder
186
188
  if value.is_a?(String) && ["Latest", "Legacy"].include?(value)
187
189
  Configuration.build_system = value
188
190
  end
191
+ value = json["default_build_configuration"]
192
+ if value.is_a?(String) && ["debug", "release"].include?(value.downcase)
193
+ Configuration.default_build_configuration = value.downcase
194
+ end
189
195
  value = json["library_evolution_support"]
190
196
  if [TrueClass, FalseClass].include?(value.class)
191
197
  Configuration.library_evolution_support = value
@@ -250,7 +250,7 @@ module PodBuilder
250
250
  root_spec = all_specs.detect { |t| t.name == @root_name } || spec
251
251
  @source_files = source_files_from([spec, root_spec] + default_subspecs_specs)
252
252
 
253
- @build_configuration = spec.root.attributes_hash.dig("pod_target_xcconfig", "prebuild_configuration") || "release"
253
+ @build_configuration = spec.root.attributes_hash.dig("pod_target_xcconfig", "prebuild_configuration") || Configuration.default_build_configuration
254
254
  @build_configuration.downcase!
255
255
 
256
256
  default_license = "MIT"
@@ -1,3 +1,3 @@
1
1
  module PodBuilder
2
- VERSION = "6.1.0"
2
+ VERSION = "6.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pod-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.0
4
+ version: 6.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomas Camin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-08-27 00:00:00.000000000 Z
11
+ date: 2026-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler