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 +4 -4
- data/README.md +4 -0
- data/lib/pod_builder/configuration.rb +6 -0
- data/lib/pod_builder/podfile_item.rb +1 -1
- data/lib/pod_builder/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 306492a077037cf3f5d3147f969c0d5a10d7192b6b62b753f976447d295e03e5
|
|
4
|
+
data.tar.gz: 2d02289b4e4916f87b1d46b11a3469f0067f9b904b299b9d0753e270db51b967
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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") ||
|
|
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"
|
data/lib/pod_builder/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2026-08-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|