pod-builder 0.9.4 → 0.9.5
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 +2 -2
- data/lib/pod_builder/command/build.rb +5 -5
- data/lib/pod_builder/configuration.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: 85f1b17fd15f35e294825cc6ac217dd09ae71dae3186c54b57020fb5c78b24e3
|
4
|
+
data.tar.gz: 95d913e8c397fa2fa7b7aeb9ab16da614167315bf31e431476c3fb0fe51b88ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db8916801bd4240082126218e5831e1787dd25f090db4574cc0408db4dc5650ec902731a432e637e83771f887e930288df5485455d90d13a62f1055124706ae1
|
7
|
+
data.tar.gz: 4e3f4ddc8bc5537cc5703e131c80bc0b5019ea291a159539439ae75079b3be8c126e87b19b790e48a25706b48c8f36ddc26432c41bdc0d4640949501d2cff31a
|
data/README.md
CHANGED
@@ -279,7 +279,7 @@ PodBuilder leverages CocoaPods code and [cocoapods-rome plugin](https://github.c
|
|
279
279
|
|
280
280
|
# FAQ
|
281
281
|
|
282
|
-
### **I get an _'`
|
282
|
+
### **I get an _'`PodWithError` does not specify a Swift version and none of the targets (`DummyTarget`)'_ when building**
|
283
283
|
|
284
284
|
The podspec of the Pod you're trying to build doesn't specify the swift_version which is required in recent versions of CocoaPods. Either contact the author/mantainer of the Pod asking it to fix the podspec or add a `spec_overrides` in _PodBuilder.json_.
|
285
285
|
|
@@ -288,7 +288,7 @@ The podspec of the Pod you're trying to build doesn't specify the swift_version
|
|
288
288
|
"Google-Mobile-Ads-SDK": {
|
289
289
|
"module_name": "GoogleMobileAds"
|
290
290
|
},
|
291
|
-
"
|
291
|
+
"PodWithError": {
|
292
292
|
"swift_version": "5.0"
|
293
293
|
}
|
294
294
|
}
|
@@ -50,7 +50,7 @@ module PodBuilder
|
|
50
50
|
# 2. pods to build in release
|
51
51
|
# 3. pods to build in debug
|
52
52
|
|
53
|
-
check_not_building_development_pods(pods_to_build)
|
53
|
+
check_not_building_development_pods(pods_to_build, options)
|
54
54
|
|
55
55
|
pods_to_build_subspecs = pods_to_build.select { |x| x.is_subspec && Configuration.subspecs_to_split.include?(x.name) }
|
56
56
|
|
@@ -215,7 +215,7 @@ module PodBuilder
|
|
215
215
|
return
|
216
216
|
end
|
217
217
|
|
218
|
-
warn_message = "The following pods `#{invalid_subspecs.join(" ")}` are non static frameworks which are being splitted over different targets. Beware that this is an unsafe setup as per https://github.com/CocoaPods/CocoaPods/issues/5708 and https://github.com/CocoaPods/CocoaPods/issues/5643\n"
|
218
|
+
warn_message = "The following pods `#{invalid_subspecs.join(" ")}` are non static frameworks which are being splitted over different targets. Beware that this is an unsafe setup as per https://github.com/CocoaPods/CocoaPods/issues/5708 and https://github.com/CocoaPods/CocoaPods/issues/5643\n\nYou can ignore this error by passing the `--allow-warnings` flag to the build command\n"
|
219
219
|
if options[:allow_warnings]
|
220
220
|
puts "\n\n⚠️ #{warn_message}".yellow
|
221
221
|
else
|
@@ -237,10 +237,10 @@ module PodBuilder
|
|
237
237
|
end
|
238
238
|
end
|
239
239
|
|
240
|
-
def self.check_not_building_development_pods(pods)
|
241
|
-
if (development_pods = pods.select { |x| x.is_development_pod }) && development_pods.count > 0
|
240
|
+
def self.check_not_building_development_pods(pods, options)
|
241
|
+
if (development_pods = pods.select { |x| x.is_development_pod }) && development_pods.count > 0 && options[:allow_warnings].nil?
|
242
242
|
pod_names = development_pods.map(&:name).join(", ")
|
243
|
-
raise "
|
243
|
+
raise "The following pods are in development mode: `#{pod_names}`, won't proceed building.\n\nYou can ignore this error by passing the `--allow-warnings` flag to the build command\n"
|
244
244
|
end
|
245
245
|
end
|
246
246
|
|
@@ -15,7 +15,7 @@ module PodBuilder
|
|
15
15
|
}
|
16
16
|
}.freeze
|
17
17
|
DEFAULT_SKIP_PODS = ["GoogleMaps"]
|
18
|
-
DEFAULT_FORCE_PREBUILD_PODS = ["Firebase"]
|
18
|
+
DEFAULT_FORCE_PREBUILD_PODS = ["Firebase", "GoogleTagManager"]
|
19
19
|
DEFAULT_BUILD_SYSTEM = "Legacy".freeze # either Latest (New build system) or Legacy (Standard build system)
|
20
20
|
MIN_LFS_SIZE_KB = 256.freeze
|
21
21
|
|
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: 0.9.
|
4
|
+
version: 0.9.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomas Camin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|