ty-cocoapods-packager 1.5.3 → 1.5.9

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
2
  SHA256:
3
- metadata.gz: 5e95ef8d1cb6e51d360b0059b5fd03006337091a568448b2a97b50853093ef6f
4
- data.tar.gz: e8a22ff1425b5326e41493b9d015d1e405b5941894ff6651f1ea6dff1a40e2ef
3
+ metadata.gz: a43954a73334d19e5378c0e2e617f9da2729e0be24cf400a2f4d72e3a5a5b08b
4
+ data.tar.gz: 2ee22cea86d50ece060b81ae206a9736dfd1b149018f6f5cd69fcc81eec6ce31
5
5
  SHA512:
6
- metadata.gz: af2e91ffeafc67aaf2e237e78d55f6da22f48e6593f3f122dedcc3f41dae34fea6481cc07569ac85515c8505c248003d4682bb3dc9d1a84fadd6fcd4a6b7bab6
7
- data.tar.gz: '073596524c18d670b19df2a30eaa5ed2f12872933131380149aeddb66f9e0e7c268695450e3450dce9309c9cb1d371a6fb3f40d504fd8c65c10e4f378803239f'
6
+ metadata.gz: 3a49af92af69f6bc3ea4eea5707de4a762a3dc1a882a4c4c428a1057281010ef6d8a6d9e8994379efbe7b21e96386f5f4c6266d163708a21a334eb39d59aa37c
7
+ data.tar.gz: cc1e1d01cfcc06ac4148fe80360ea92cabe3e637b53d16b50354e12afcb4f1d615944b150812e6955742f652c60121c764ea1ed4928b845cd13cb47baf6cb8f4
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source 'https://rubygems.org'
1
+ source 'https://gems.ruby-china.com'
2
2
 
3
3
  gemspec
4
4
 
@@ -1,107 +1,137 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-packager (1.5.0)
5
- cocoapods (>= 1.1.1, < 2.0)
4
+ ty-cocoapods-packager (1.5.8)
5
+ cocoapods (>= 1.7.3, < 2.0)
6
6
 
7
7
  GEM
8
- remote: https://rubygems.org/
8
+ remote: https://gems.ruby-china.com/
9
9
  specs:
10
- activesupport (4.2.7.1)
10
+ CFPropertyList (3.0.2)
11
+ activesupport (4.2.11.3)
11
12
  i18n (~> 0.7)
12
- json (~> 1.7, >= 1.7.7)
13
13
  minitest (~> 5.1)
14
14
  thread_safe (~> 0.3, >= 0.3.4)
15
15
  tzinfo (~> 1.1)
16
- ast (2.3.0)
16
+ algoliasearch (1.27.3)
17
+ httpclient (~> 2.8, >= 2.8.3)
18
+ json (>= 1.5.1)
19
+ ast (2.4.1)
20
+ atomos (0.1.3)
17
21
  bacon (1.2.0)
18
- claide (1.0.1)
19
- cocoapods (1.1.1)
22
+ claide (1.0.3)
23
+ cocoapods (1.9.3)
20
24
  activesupport (>= 4.0.2, < 5)
21
- claide (>= 1.0.1, < 2.0)
22
- cocoapods-core (= 1.1.1)
23
- cocoapods-deintegrate (>= 1.0.1, < 2.0)
24
- cocoapods-downloader (>= 1.1.2, < 2.0)
25
+ claide (>= 1.0.2, < 2.0)
26
+ cocoapods-core (= 1.9.3)
27
+ cocoapods-deintegrate (>= 1.0.3, < 2.0)
28
+ cocoapods-downloader (>= 1.2.2, < 2.0)
25
29
  cocoapods-plugins (>= 1.0.0, < 2.0)
26
30
  cocoapods-search (>= 1.0.0, < 2.0)
27
31
  cocoapods-stats (>= 1.0.0, < 2.0)
28
- cocoapods-trunk (>= 1.1.1, < 2.0)
32
+ cocoapods-trunk (>= 1.4.0, < 2.0)
29
33
  cocoapods-try (>= 1.1.0, < 2.0)
30
- colored (~> 1.2)
34
+ colored2 (~> 3.1)
31
35
  escape (~> 0.0.4)
32
- fourflusher (~> 2.0.1)
36
+ fourflusher (>= 2.3.0, < 3.0)
33
37
  gh_inspector (~> 1.0)
34
- molinillo (~> 0.5.1)
38
+ molinillo (~> 0.6.6)
35
39
  nap (~> 1.0)
36
- xcodeproj (>= 1.3.3, < 2.0)
37
- cocoapods-core (1.1.1)
38
- activesupport (>= 4.0.2, < 5)
40
+ ruby-macho (~> 1.4)
41
+ xcodeproj (>= 1.14.0, < 2.0)
42
+ cocoapods-core (1.9.3)
43
+ activesupport (>= 4.0.2, < 6)
44
+ algoliasearch (~> 1.0)
45
+ concurrent-ruby (~> 1.1)
39
46
  fuzzy_match (~> 2.0.4)
40
47
  nap (~> 1.0)
41
- cocoapods-deintegrate (1.0.1)
42
- cocoapods-downloader (1.1.2)
48
+ netrc (~> 0.11)
49
+ typhoeus (~> 1.0)
50
+ cocoapods-deintegrate (1.0.4)
51
+ cocoapods-downloader (1.3.0)
43
52
  cocoapods-plugins (1.0.0)
44
53
  nap
45
54
  cocoapods-search (1.0.0)
46
- cocoapods-stats (1.0.0)
47
- cocoapods-trunk (1.1.1)
55
+ cocoapods-stats (1.1.0)
56
+ cocoapods-trunk (1.5.0)
48
57
  nap (>= 0.8, < 2.0)
49
- netrc (= 0.7.8)
50
- cocoapods-try (1.1.0)
51
- colored (1.2)
52
- coveralls (0.8.14)
58
+ netrc (~> 0.11)
59
+ cocoapods-try (1.2.0)
60
+ colored2 (3.1.2)
61
+ concurrent-ruby (1.1.6)
62
+ coveralls (0.8.23)
53
63
  json (>= 1.8, < 3)
54
- simplecov (~> 0.12.0)
64
+ simplecov (~> 0.16.1)
55
65
  term-ansicolor (~> 1.3)
56
- thor (~> 0.19.1)
57
- tins (~> 1.6.0)
58
- docile (1.1.5)
66
+ thor (>= 0.19.4, < 2.0)
67
+ tins (~> 1.6)
68
+ docile (1.3.2)
59
69
  escape (0.0.4)
60
- fourflusher (2.0.1)
70
+ ethon (0.12.0)
71
+ ffi (>= 1.3.0)
72
+ ffi (1.13.1)
73
+ fourflusher (2.3.1)
61
74
  fuzzy_match (2.0.4)
62
- gh_inspector (1.0.2)
63
- i18n (0.7.0)
64
- json (1.8.3)
75
+ gh_inspector (1.1.3)
76
+ httpclient (2.8.3)
77
+ i18n (0.9.5)
78
+ concurrent-ruby (~> 1.0)
79
+ json (2.3.0)
65
80
  metaclass (0.0.4)
66
- minitest (5.9.1)
81
+ minitest (5.14.1)
67
82
  mocha (0.11.4)
68
83
  metaclass (~> 0.0.1)
69
84
  mocha-on-bacon (0.2.1)
70
85
  mocha (>= 0.9.8)
71
- molinillo (0.5.2)
86
+ molinillo (0.6.6)
87
+ nanaimo (0.2.6)
72
88
  nap (1.1.0)
73
- netrc (0.7.8)
74
- parser (2.3.1.2)
75
- ast (~> 2.2)
76
- powerpack (0.1.1)
89
+ netrc (0.11.0)
90
+ parallel (1.19.1)
91
+ parser (2.7.1.3)
92
+ ast (~> 2.4.0)
77
93
  prettybacon (0.0.2)
78
94
  bacon (~> 1.2)
79
- rainbow (2.1.0)
80
- rake (11.2.2)
81
- rubocop (0.41.2)
82
- parser (>= 2.3.1.1, < 3.0)
83
- powerpack (~> 0.1)
84
- rainbow (>= 1.99.1, < 3.0)
95
+ rainbow (3.0.0)
96
+ rake (13.0.1)
97
+ regexp_parser (1.7.1)
98
+ rexml (3.2.4)
99
+ rubocop (0.85.1)
100
+ parallel (~> 1.10)
101
+ parser (>= 2.7.0.1)
102
+ rainbow (>= 2.2.2, < 4.0)
103
+ regexp_parser (>= 1.7)
104
+ rexml
105
+ rubocop-ast (>= 0.0.3)
85
106
  ruby-progressbar (~> 1.7)
86
- unicode-display_width (~> 1.0, >= 1.0.1)
87
- ruby-progressbar (1.8.1)
88
- simplecov (0.12.0)
89
- docile (~> 1.1.0)
107
+ unicode-display_width (>= 1.4.0, < 2.0)
108
+ rubocop-ast (0.0.3)
109
+ parser (>= 2.7.0.1)
110
+ ruby-macho (1.4.0)
111
+ ruby-progressbar (1.10.1)
112
+ simplecov (0.16.1)
113
+ docile (~> 1.1)
90
114
  json (>= 1.8, < 3)
91
115
  simplecov-html (~> 0.10.0)
92
- simplecov-html (0.10.0)
93
- term-ansicolor (1.3.2)
116
+ simplecov-html (0.10.2)
117
+ sync (0.5.0)
118
+ term-ansicolor (1.7.1)
94
119
  tins (~> 1.0)
95
- thor (0.19.1)
96
- thread_safe (0.3.5)
97
- tins (1.6.0)
98
- tzinfo (1.2.2)
120
+ thor (1.0.1)
121
+ thread_safe (0.3.6)
122
+ tins (1.25.0)
123
+ sync
124
+ typhoeus (1.4.0)
125
+ ethon (>= 0.9.0)
126
+ tzinfo (1.2.7)
99
127
  thread_safe (~> 0.1)
100
- unicode-display_width (1.1.0)
101
- xcodeproj (1.3.3)
102
- activesupport (>= 3)
103
- claide (>= 1.0.1, < 2.0)
104
- colored (~> 1.2)
128
+ unicode-display_width (1.7.0)
129
+ xcodeproj (1.16.0)
130
+ CFPropertyList (>= 2.3.3, < 4.0)
131
+ atomos (~> 0.1.3)
132
+ claide (>= 1.0.2, < 2.0)
133
+ colored2 (~> 3.1)
134
+ nanaimo (~> 0.2.6)
105
135
 
106
136
  PLATFORMS
107
137
  ruby
@@ -109,13 +139,13 @@ PLATFORMS
109
139
  DEPENDENCIES
110
140
  bacon
111
141
  bundler (~> 1.3)
112
- cocoapods-packager!
113
142
  coveralls
114
143
  mocha (~> 0.11.4)
115
144
  mocha-on-bacon
116
145
  prettybacon
117
146
  rake
118
147
  rubocop
148
+ ty-cocoapods-packager!
119
149
 
120
150
  BUNDLED WITH
121
- 1.13.5
151
+ 1.17.3
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
15
15
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
16
16
  spec.require_paths = ["lib"]
17
17
 
18
- spec.add_dependency "cocoapods", '>= 1.1.1', '< 2.0'
18
+ spec.add_dependency "cocoapods", '>= 1.7.3', '< 2.0'
19
19
 
20
20
  spec.add_development_dependency "bundler", "~> 1.3"
21
21
  spec.add_development_dependency "rake"
@@ -15,6 +15,8 @@ module Pod
15
15
  end
16
16
 
17
17
  def build(platform, library)
18
+ UI.puts `xcrun xcodebuild -version`
19
+
18
20
  if library
19
21
  build_static_library(platform)
20
22
  else
@@ -34,6 +36,7 @@ module Pod
34
36
 
35
37
  create_static_library(platform.name.to_s)
36
38
  copy_static_headers
39
+ copy_static_resources
37
40
  end
38
41
 
39
42
  def build_framework(platform)
@@ -76,6 +79,8 @@ module Pod
76
79
  clean_directory_for_dynamic_build
77
80
  if platform.name == :ios
78
81
  build_dynamic_framework_for_ios(platform, defines, output)
82
+ elsif platform.name == :watchos
83
+ raise 'not supported yet'
79
84
  else
80
85
  build_dynamic_framework_for_mac(platform, defines, output)
81
86
  end
@@ -86,6 +91,8 @@ module Pod
86
91
 
87
92
  if platform.name == :ios
88
93
  build_static_lib_for_ios(static_libs, defines, output)
94
+ elsif platform.name == :watchos
95
+ build_static_lib_for_watchos(static_libs, defines, output)
89
96
  else
90
97
  build_static_lib_for_mac(static_libs, output)
91
98
  end
@@ -129,6 +136,8 @@ module Pod
129
136
  def build_sim_libraries(platform, defines)
130
137
  if platform.name == :ios
131
138
  xcodebuild(defines, '-sdk iphonesimulator', 'build-sim')
139
+ elsif platform.name == :watchos
140
+ xcodebuild(defines, '-sdk watchsimulator', 'build-sim')
132
141
  end
133
142
  end
134
143
 
@@ -142,6 +151,10 @@ module Pod
142
151
  `lipo #{@static_sandbox_root}/build/package.a #{@static_sandbox_root}/build-sim/package.a -create -output #{output}`
143
152
  end
144
153
 
154
+ def build_static_lib_for_watchos(static_libs, _defines, output)
155
+ build_static_lib_for_ios(static_libs, _defines, output)
156
+ end
157
+
145
158
  def build_static_lib_for_mac(static_libs, output)
146
159
  return if static_libs.count == 0
147
160
  `libtool -static -o #{output} #{static_libs.join(' ')}`
@@ -150,7 +163,7 @@ module Pod
150
163
  def build_with_mangling(platform, options)
151
164
  UI.puts 'Mangling symbols'
152
165
  defines = Symbols.mangle_for_pod_dependencies(@spec.name, @static_sandbox_root)
153
- defines << ' ' << @spec.consumer(platform).compiler_flags.join(' ')
166
+ defines << " OTHER_CFLAGS='" << @spec.consumer(platform).compiler_flags.join(' ') << "'"
154
167
 
155
168
  UI.puts 'Building mangled framework'
156
169
  xcodebuild(defines, options)
@@ -168,7 +181,7 @@ module Pod
168
181
 
169
182
  def compile(platform)
170
183
  defines = "GCC_PREPROCESSOR_DEFINITIONS='$(inherited) PodsDummy_Pods_#{@spec.name}=PodsDummy_PodPackage_#{@spec.name}'"
171
- defines << ' ' << @spec.consumer(platform).compiler_flags.join(' ')
184
+ defines << " OTHER_CFLAGS='" << @spec.consumer(platform).compiler_flags.join(' ') << "'"
172
185
 
173
186
  if platform.name == :ios
174
187
  options = ios_build_options
@@ -196,6 +209,34 @@ module Pod
196
209
  each { |h| `ditto #{h} #{@fwk.headers_path}/Public/#{h.sub(headers_source_root, '')}` }
197
210
  end
198
211
 
212
+ def copy_static_resources
213
+ assets_path = _create_assets_dir
214
+ file_accessor = Sandbox::FileAccessor.new(Pathname.new("Pods/#{@spec.name}"), @spec.consumer(:ios))
215
+ spec_resource_bundles = file_accessor.resource_bundles
216
+ spec_resources = file_accessor.resources
217
+
218
+ spec_resource_bundles.map do |bundle, resources|
219
+ UI.puts("copy resource bundle #{bundle}.bundle to Assets")
220
+ bundle_path = "#{assets_path}/#{bundle}.bundle/"
221
+ `mkdir #{bundle_path}`
222
+
223
+ resources.map { |resource| `cp #{resource} #{bundle_path}` }
224
+ end
225
+
226
+ puts "copy #{spec_resources.count} resource(s) to Assets" if spec_resources.count != 0
227
+ spec_resources.map do |resource|
228
+ `cp #{resource} #{assets_path}`
229
+ end
230
+ end
231
+
232
+ def _create_assets_dir
233
+ assets_path = 'Assets'
234
+ return assets_path if File.exist?(assets_path)
235
+
236
+ `mkdir #{assets_path}`
237
+ assets_path
238
+ end
239
+
199
240
  def copy_headers
200
241
  headers_source_root = "#{@public_headers_root}/#{@spec.name}"
201
242
 
@@ -305,7 +346,7 @@ MAP
305
346
  args = "#{args} CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_REQUIRED=NO"
306
347
  end
307
348
 
308
- command = "xcodebuild #{defines} #{args} CONFIGURATION_BUILD_DIR=#{build_dir} clean build -configuration #{config} -target #{target} -project #{project_root}/Pods.xcodeproj 2>&1"
349
+ command = "xcrun xcodebuild #{defines} #{args} CONFIGURATION_BUILD_DIR=#{build_dir} clean build -configuration #{config} -target #{target} -project #{project_root}/Pods.xcodeproj 2>&1"
309
350
  output = `#{command}`.lines.to_a
310
351
 
311
352
  if $?.exitstatus != 0
@@ -100,9 +100,12 @@ module Pod
100
100
  end
101
101
 
102
102
  def spec_with_path(path)
103
- return if path.nil? || !Pathname.new(path).exist?
103
+ return if path.nil?
104
+ path = Pathname.new(path)
105
+ path = Pathname.new(Dir.pwd).join(path) unless path.absolute?
106
+ return unless path.exist?
104
107
 
105
- @path = path
108
+ @path = path.expand_path
106
109
 
107
110
  if Pathname.new(path).directory?
108
111
  help! path + ': is a directory.'
@@ -128,9 +131,17 @@ module Pod
128
131
  dynamic_sandbox
129
132
  end
130
133
 
131
- def install_dynamic_pod(dynamic_sandbox, static_sandbox, static_installer)
134
+ # @param [Pod::Sandbox] dynamic_sandbox
135
+ #
136
+ # @param [Pod::Sandbox] static_sandbox
137
+ #
138
+ # @param [Pod::Installer] static_installer
139
+ #
140
+ # @param [Pod::Platform] platform
141
+ #
142
+ def install_dynamic_pod(dynamic_sandbox, static_sandbox, static_installer, platform)
132
143
  # 1 Create a dynamic target for only the spec pod.
133
- dynamic_target = build_dynamic_target(dynamic_sandbox, static_installer)
144
+ dynamic_target = build_dynamic_target(dynamic_sandbox, static_installer, platform)
134
145
 
135
146
  # 2. Build a new xcodeproj in the dynamic_sandbox with only the spec pod as a target.
136
147
  project = prepare_pods_project(dynamic_sandbox, dynamic_target.name, static_installer)
@@ -141,31 +152,40 @@ module Pod
141
152
  # 4. Copy the supporting files for the dynamic framework from the static sandbox.
142
153
  copy_dynamic_supporting_files(static_sandbox, dynamic_target, dynamic_sandbox)
143
154
 
144
- # 5. Update the file accecssors.
145
- dynamic_target = update_file_accessors(dynamic_target, dynamic_sandbox)
146
-
147
155
  # 6. Create the file references.
148
156
  install_file_references(dynamic_sandbox, [dynamic_target], project)
149
157
 
150
158
  # 7. Install the target.
151
- install_library(dynamic_sandbox, dynamic_target)
159
+ install_library(dynamic_sandbox, dynamic_target, project)
152
160
 
153
161
  # 9. Write the actual Xcodeproject to the dynamic sandbox.
154
162
  write_pod_project(project, dynamic_sandbox)
155
163
  end
156
164
 
157
- def build_dynamic_target(dynamic_sandbox, static_installer)
165
+ # @param [Pod::Installer] static_installer
166
+ #
167
+ # @return [Pod::PodTarget]
168
+ #
169
+ def build_dynamic_target(dynamic_sandbox, static_installer, platform)
158
170
  spec_targets = static_installer.pod_targets.select do |target|
159
171
  target.name == @spec.name
160
172
  end
161
173
  static_target = spec_targets[0]
162
174
 
163
- dynamic_target = Pod::PodTarget.new(static_target.specs, static_target.target_definitions, dynamic_sandbox)
164
- dynamic_target.host_requires_frameworks = true
165
- dynamic_target.user_build_configurations = static_target.user_build_configurations
175
+ file_accessors = create_file_accessors(static_target, dynamic_sandbox)
176
+
177
+ archs = []
178
+
179
+ dynamic_target = Pod::PodTarget.new(dynamic_sandbox, true, static_target.user_build_configurations, archs, platform, static_target.specs, static_target.target_definitions, file_accessors)
166
180
  dynamic_target
167
181
  end
168
182
 
183
+ # @param [Pod::Sandbox] dynamic_sandbox
184
+ #
185
+ # @param [String] spec_name
186
+ #
187
+ # @param [Pod::Installer] installer
188
+ #
169
189
  def prepare_pods_project(dynamic_sandbox, spec_name, installer)
170
190
  # Create a new pods project
171
191
  pods_project = Pod::Project.new(dynamic_sandbox.project_path)
@@ -181,7 +201,6 @@ module Pod
181
201
  was_absolute = dynamic_sandbox.local_path_was_absolute?(spec_name)
182
202
  pods_project.add_pod_group(spec_name, path, local, was_absolute)
183
203
 
184
- dynamic_sandbox.project = pods_project
185
204
  pods_project
186
205
  end
187
206
 
@@ -195,16 +214,13 @@ module Pod
195
214
  support_dir.mkdir
196
215
  end
197
216
 
198
- def update_file_accessors(dynamic_target, dynamic_sandbox)
199
- pod_root = dynamic_sandbox.pod_dir(dynamic_target.root_spec.name)
217
+ def create_file_accessors(target, dynamic_sandbox)
218
+ pod_root = dynamic_sandbox.pod_dir(target.root_spec.name)
200
219
 
201
220
  path_list = Sandbox::PathList.new(pod_root)
202
- file_accessors = dynamic_target.specs.map do |spec|
203
- Sandbox::FileAccessor.new(path_list, spec.consumer(dynamic_target.platform))
221
+ target.specs.map do |spec|
222
+ Sandbox::FileAccessor.new(path_list, spec.consumer(target.platform))
204
223
  end
205
-
206
- dynamic_target.file_accessors = file_accessors
207
- dynamic_target
208
224
  end
209
225
 
210
226
  def install_file_references(dynamic_sandbox, pod_targets, pods_project)
@@ -212,22 +228,20 @@ module Pod
212
228
  installer.install!
213
229
  end
214
230
 
215
- def install_library(dynamic_sandbox, dynamic_target)
231
+ def install_library(dynamic_sandbox, dynamic_target, project)
216
232
  return if dynamic_target.target_definitions.flat_map(&:dependencies).empty?
217
- target_installer = Pod::Installer::Xcode::PodsProjectGenerator::PodTargetInstaller.new(dynamic_sandbox, dynamic_target)
218
- target_installer.install!
233
+ target_installer = Pod::Installer::Xcode::PodsProjectGenerator::PodTargetInstaller.new(dynamic_sandbox, project, dynamic_target)
234
+ result = target_installer.install!
235
+ native_target = result.native_target
219
236
 
220
237
  # Installs System Frameworks
221
- dynamic_target.file_accessors.each do |file_accessor|
222
- file_accessor.spec_consumer.frameworks.each do |framework|
223
- if dynamic_target.should_build?
224
- dynamic_target.native_target.add_system_framework(framework)
238
+ if dynamic_target.should_build?
239
+ dynamic_target.file_accessors.each do |file_accessor|
240
+ file_accessor.spec_consumer.frameworks.each do |framework|
241
+ native_target.add_system_framework(framework)
225
242
  end
226
- end
227
-
228
- file_accessor.spec_consumer.libraries.each do |library|
229
- if dynamic_target.should_build?
230
- dynamic_target.native_target.add_system_library(library)
243
+ file_accessor.spec_consumer.libraries.each do |library|
244
+ native_target.add_system_library(library)
231
245
  end
232
246
  end
233
247
  end
@@ -1,6 +1,6 @@
1
1
  module Symbols
2
2
  def symbols_from_library(library)
3
- syms = `nm -gU #{library}`.split("\n")
3
+ syms = `nm -defined-only -extern-only #{library}`.split("\n")
4
4
  result = classes_from_symbols(syms)
5
5
  result += constants_from_symbols(syms)
6
6
  result += variables_from_symbols(syms)
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  module Packager
3
- VERSION = '1.5.3'.freeze
3
+ VERSION = '1.5.9'.freeze
4
4
  end
5
5
  end
@@ -57,7 +57,7 @@ module Pod
57
57
 
58
58
  def run
59
59
  if @path.nil? || @spec.nil?
60
- help! 'Unable to find a podspec with path or name.'
60
+ help! "Unable to find a podspec with path or name `#{@name}`."
61
61
  return
62
62
  end
63
63
 
@@ -80,7 +80,7 @@ module Pod
80
80
 
81
81
  if @dynamic
82
82
  dynamic_sandbox = build_dynamic_sandbox(static_sandbox, static_installer)
83
- install_dynamic_pod(dynamic_sandbox, static_sandbox, static_installer)
83
+ install_dynamic_pod(dynamic_sandbox, static_sandbox, static_installer, platform)
84
84
  end
85
85
 
86
86
  begin
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ty-cocoapods-packager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3
4
+ version: 1.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Fuller
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-04-09 00:00:00.000000000 Z
12
+ date: 2020-06-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cocoapods
@@ -17,7 +17,7 @@ dependencies:
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: 1.1.1
20
+ version: 1.7.3
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
23
  version: '2.0'
@@ -27,7 +27,7 @@ dependencies:
27
27
  requirements:
28
28
  - - ">="
29
29
  - !ruby/object:Gem::Version
30
- version: 1.1.1
30
+ version: 1.7.3
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '2.0'
@@ -155,8 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
157
  requirements: []
158
- rubyforge_project:
159
- rubygems_version: 2.7.7
158
+ rubygems_version: 3.0.6
160
159
  signing_key:
161
160
  specification_version: 4
162
161
  summary: CocoaPods plugin which allows you to generate a framework or static library