cocoapods-binary-gcp 0.0.5 → 0.0.6

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
- SHA1:
3
- metadata.gz: eee034618a9d333cbeba33a4e9f8fdb618fd2b1e
4
- data.tar.gz: 476299215a72e369cf2824c4d5086392f73d9564
2
+ SHA256:
3
+ metadata.gz: e8e3715dab27af6a2e0b2844826749eb7e85712055571b436f5d6531d493f404
4
+ data.tar.gz: 9b700fc95ebe7ad6a06e25b51cb9acd62b02a2e699b04a2b60e6e04313e9675f
5
5
  SHA512:
6
- metadata.gz: cd05018ab3978e6ef790c5c31c7c3ab4671f5426d667f5aa634428c72955e962c9841329aedab506694cc6d3934b3addd41c20a6ef25310c5528e643534b52a7
7
- data.tar.gz: db26a1b2fe690e83c8e42bec6516240f20e37668a3ae74bd567fd6a2adeb0aa41aeaee663ad10a75c264a2b440e54b317dd833a269848e6c804fa00d076aa996
6
+ metadata.gz: 8734ab2ed8253d5cf6759ee5314a0439ad4dcac61feddac05d0b4a9e53416d175b3e5a17dd73dcf95ce97360be60f05da051d28b858d3d8f25dfc2d3abdb215b
7
+ data.tar.gz: 9fa724e680fecaa477749076c32e8047cf5d28f3ec8168b2f096a7b741cbc844c4dc8405c4f28242fc9628136a6d69c7fd80acdd4896c2cad5e656467b2f66f5
@@ -1,3 +1,3 @@
1
1
  module CocoapodsBinary
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -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.5
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-02-17 00:00:00.000000000 Z
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
- rubyforge_project:
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