cocoapods-binary-gcp 0.0.5 → 0.0.6
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e8e3715dab27af6a2e0b2844826749eb7e85712055571b436f5d6531d493f404
|
4
|
+
data.tar.gz: 9b700fc95ebe7ad6a06e25b51cb9acd62b02a2e699b04a2b60e6e04313e9675f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8734ab2ed8253d5cf6759ee5314a0439ad4dcac61feddac05d0b4a9e53416d175b3e5a17dd73dcf95ce97360be60f05da051d28b858d3d8f25dfc2d3abdb215b
|
7
|
+
data.tar.gz: 9fa724e680fecaa477749076c32e8047cf5d28f3ec8168b2f096a7b741cbc844c4dc8405c4f28242fc9628136a6d69c7fd80acdd4896c2cad5e656467b2f66f5
|
@@ -30,8 +30,15 @@ def build_for_iosish_platform(sandbox,
|
|
30
30
|
# bitcode enabled
|
31
31
|
other_options += ['BITCODE_GENERATION_MODE=bitcode'] if bitcode_enabled
|
32
32
|
# make less arch to iphone simulator for faster build
|
33
|
-
custom_build_options_simulator += ['ARCHS=x86_64', 'ONLY_ACTIVE_ARCH=NO'] if simulator == 'iphonesimulator'
|
34
|
-
|
33
|
+
# custom_build_options_simulator += ['ARCHS=x86_64', 'ONLY_ACTIVE_ARCH=NO'] if simulator == 'iphonesimulator'
|
34
|
+
|
35
|
+
# make less arch to iphone simulator for faster build if there is no options in `custom_build_options_simulator`
|
36
|
+
if simulator == 'iphonesimulator'
|
37
|
+
joined_options = custom_build_options_simulator.join(' ')
|
38
|
+
custom_build_options_simulator << 'ONLY_ACTIVE_ARCH=NO' unless joined_options.include?('ONLY_ACTIVE_ARCH')
|
39
|
+
custom_build_options_simulator << 'ARCHS=x86_64' unless joined_options.include?('ARCHS')
|
40
|
+
end
|
41
|
+
|
35
42
|
is_succeed, _ = xcodebuild(sandbox, target_label, device, deployment_target, other_options + custom_build_options)
|
36
43
|
Pod::UI.puts "Builded Device #{target_label} #{is_succeed}"
|
37
44
|
exit 1 unless is_succeed
|
@@ -119,6 +126,7 @@ def xcodebuild(sandbox, target, sdk='macosx', deployment_target=nil, other_optio
|
|
119
126
|
platform = PLATFORMS[sdk]
|
120
127
|
args += Fourflusher::SimControl.new.destination(:oldest, platform, deployment_target) unless platform.nil?
|
121
128
|
args += other_options
|
129
|
+
args.map! { |arg| arg.include?(' ') ? "\'#{arg}\'" : arg }
|
122
130
|
log = `xcodebuild #{args.join(" ")} 2>&1`
|
123
131
|
exit_code = $?.exitstatus # Process::Status
|
124
132
|
is_succeed = (exit_code == 0)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-binary-gcp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- leavez
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-04-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cocoapods
|
@@ -167,8 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
167
|
- !ruby/object:Gem::Version
|
168
168
|
version: '0'
|
169
169
|
requirements: []
|
170
|
-
|
171
|
-
rubygems_version: 2.5.2
|
170
|
+
rubygems_version: 3.0.3
|
172
171
|
signing_key:
|
173
172
|
specification_version: 4
|
174
173
|
summary: A CocoaPods plugin to integrate pods in form of prebuilt frameworks, not
|