cocoapods 1.10.1 → 1.11.0.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +224 -5
- data/README.md +11 -11
- data/lib/cocoapods/command/outdated.rb +12 -1
- data/lib/cocoapods/command/repo/push.rb +17 -0
- data/lib/cocoapods/command/spec/cat.rb +3 -1
- data/lib/cocoapods/command/spec/lint.rb +1 -1
- data/lib/cocoapods/command/spec/which.rb +3 -1
- data/lib/cocoapods/command/spec.rb +18 -9
- data/lib/cocoapods/config.rb +1 -1
- data/lib/cocoapods/downloader/cache.rb +95 -6
- data/lib/cocoapods/downloader.rb +4 -2
- data/lib/cocoapods/external_sources/podspec_source.rb +1 -1
- data/lib/cocoapods/gem_version.rb +1 -1
- data/lib/cocoapods/generator/acknowledgements.rb +1 -1
- data/lib/cocoapods/generator/app_target_helper.rb +7 -3
- data/lib/cocoapods/generator/copy_dsyms_script.rb +4 -4
- data/lib/cocoapods/generator/copy_xcframework_script.rb +4 -48
- data/lib/cocoapods/generator/embed_frameworks_script.rb +2 -1
- data/lib/cocoapods/generator/script_phase_constants.rb +1 -0
- data/lib/cocoapods/installer/analyzer/sandbox_analyzer.rb +31 -4
- data/lib/cocoapods/installer/analyzer.rb +12 -8
- data/lib/cocoapods/installer/podfile_validator.rb +2 -2
- data/lib/cocoapods/installer/pre_integrate_hooks_context.rb +9 -0
- data/lib/cocoapods/installer/project_cache/project_cache_analyzer.rb +9 -2
- data/lib/cocoapods/installer/project_cache/project_installation_cache.rb +15 -2
- data/lib/cocoapods/installer/project_cache/target_cache_key.rb +7 -4
- data/lib/cocoapods/installer/user_project_integrator/target_integrator.rb +149 -9
- data/lib/cocoapods/installer/xcode/pods_project_generator/app_host_installer.rb +10 -3
- data/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb +25 -6
- data/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_dependency_installer.rb +6 -19
- data/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb +70 -58
- data/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_integrator.rb +48 -6
- data/lib/cocoapods/installer/xcode/pods_project_generator/target_installation_result.rb +2 -2
- data/lib/cocoapods/installer/xcode/pods_project_generator/target_installer.rb +2 -5
- data/lib/cocoapods/installer/xcode/pods_project_generator.rb +1 -1
- data/lib/cocoapods/installer.rb +52 -4
- data/lib/cocoapods/resolver.rb +4 -4
- data/lib/cocoapods/sandbox/file_accessor.rb +57 -10
- data/lib/cocoapods/sandbox/headers_store.rb +3 -1
- data/lib/cocoapods/sandbox/path_list.rb +1 -1
- data/lib/cocoapods/sandbox/pod_dir_cleaner.rb +1 -1
- data/lib/cocoapods/sources_manager.rb +14 -8
- data/lib/cocoapods/target/aggregate_target.rb +23 -1
- data/lib/cocoapods/target/build_settings.rb +45 -36
- data/lib/cocoapods/target/pod_target.rb +47 -22
- data/lib/cocoapods/user_interface.rb +4 -0
- data/lib/cocoapods/validator.rb +25 -5
- data/lib/cocoapods/version_metadata.rb +1 -1
- data/lib/cocoapods/xcode/xcframework.rb +8 -3
- metadata +28 -21
@@ -5,6 +5,10 @@ require 'cocoapods/xcode/xcframework/xcframework_slice'
|
|
5
5
|
module Pod
|
6
6
|
module Xcode
|
7
7
|
class XCFramework
|
8
|
+
# @return [String] target_name the target name this XCFramework belongs to
|
9
|
+
#
|
10
|
+
attr_reader :target_name
|
11
|
+
|
8
12
|
# @return [Pathname] path the path to the .xcframework on disk
|
9
13
|
#
|
10
14
|
attr_reader :path
|
@@ -23,12 +27,13 @@ module Pod
|
|
23
27
|
|
24
28
|
# Initializes an XCFramework instance with a path on disk
|
25
29
|
#
|
26
|
-
# @param [
|
27
|
-
#
|
30
|
+
# @param [String] target_name @see target_name
|
31
|
+
# @param [Pathname, String] path @see path
|
28
32
|
#
|
29
33
|
# @return [XCFramework] the xcframework at the given path
|
30
34
|
#
|
31
|
-
def initialize(path)
|
35
|
+
def initialize(target_name, path)
|
36
|
+
@target_name = target_name
|
32
37
|
@path = Pathname.new(path).tap do |p|
|
33
38
|
raise 'Absolute path is required' unless p.absolute?
|
34
39
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0.rc.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eloy Duran
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2021-
|
14
|
+
date: 2021-08-25 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: cocoapods-core
|
@@ -19,14 +19,14 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - '='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.
|
22
|
+
version: 1.11.0.rc.1
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.
|
29
|
+
version: 1.11.0.rc.1
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: claide
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -173,21 +173,21 @@ dependencies:
|
|
173
173
|
requirements:
|
174
174
|
- - "~>"
|
175
175
|
- !ruby/object:Gem::Version
|
176
|
-
version: 0.
|
176
|
+
version: 0.8.0
|
177
177
|
type: :runtime
|
178
178
|
prerelease: false
|
179
179
|
version_requirements: !ruby/object:Gem::Requirement
|
180
180
|
requirements:
|
181
181
|
- - "~>"
|
182
182
|
- !ruby/object:Gem::Version
|
183
|
-
version: 0.
|
183
|
+
version: 0.8.0
|
184
184
|
- !ruby/object:Gem::Dependency
|
185
185
|
name: xcodeproj
|
186
186
|
requirement: !ruby/object:Gem::Requirement
|
187
187
|
requirements:
|
188
188
|
- - ">="
|
189
189
|
- !ruby/object:Gem::Version
|
190
|
-
version: 1.
|
190
|
+
version: 1.21.0
|
191
191
|
- - "<"
|
192
192
|
- !ruby/object:Gem::Version
|
193
193
|
version: '2.0'
|
@@ -197,7 +197,7 @@ dependencies:
|
|
197
197
|
requirements:
|
198
198
|
- - ">="
|
199
199
|
- !ruby/object:Gem::Version
|
200
|
-
version: 1.
|
200
|
+
version: 1.21.0
|
201
201
|
- - "<"
|
202
202
|
- !ruby/object:Gem::Version
|
203
203
|
version: '2.0'
|
@@ -281,30 +281,36 @@ dependencies:
|
|
281
281
|
name: ruby-macho
|
282
282
|
requirement: !ruby/object:Gem::Requirement
|
283
283
|
requirements:
|
284
|
-
- - "
|
284
|
+
- - ">="
|
285
|
+
- !ruby/object:Gem::Version
|
286
|
+
version: '1.0'
|
287
|
+
- - "<"
|
285
288
|
- !ruby/object:Gem::Version
|
286
|
-
version: '
|
289
|
+
version: '3.0'
|
287
290
|
type: :runtime
|
288
291
|
prerelease: false
|
289
292
|
version_requirements: !ruby/object:Gem::Requirement
|
290
293
|
requirements:
|
291
|
-
- - "
|
294
|
+
- - ">="
|
292
295
|
- !ruby/object:Gem::Version
|
293
|
-
version: '1.
|
296
|
+
version: '1.0'
|
297
|
+
- - "<"
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: '3.0'
|
294
300
|
- !ruby/object:Gem::Dependency
|
295
301
|
name: addressable
|
296
302
|
requirement: !ruby/object:Gem::Requirement
|
297
303
|
requirements:
|
298
304
|
- - "~>"
|
299
305
|
- !ruby/object:Gem::Version
|
300
|
-
version: '2.
|
306
|
+
version: '2.8'
|
301
307
|
type: :runtime
|
302
308
|
prerelease: false
|
303
309
|
version_requirements: !ruby/object:Gem::Requirement
|
304
310
|
requirements:
|
305
311
|
- - "~>"
|
306
312
|
- !ruby/object:Gem::Version
|
307
|
-
version: '2.
|
313
|
+
version: '2.8'
|
308
314
|
- !ruby/object:Gem::Dependency
|
309
315
|
name: bacon
|
310
316
|
requirement: !ruby/object:Gem::Requirement
|
@@ -325,14 +331,14 @@ dependencies:
|
|
325
331
|
requirements:
|
326
332
|
- - "~>"
|
327
333
|
- !ruby/object:Gem::Version
|
328
|
-
version: '
|
334
|
+
version: '2.0'
|
329
335
|
type: :development
|
330
336
|
prerelease: false
|
331
337
|
version_requirements: !ruby/object:Gem::Requirement
|
332
338
|
requirements:
|
333
339
|
- - "~>"
|
334
340
|
- !ruby/object:Gem::Version
|
335
|
-
version: '
|
341
|
+
version: '2.0'
|
336
342
|
- !ruby/object:Gem::Dependency
|
337
343
|
name: rake
|
338
344
|
requirement: !ruby/object:Gem::Requirement
|
@@ -458,6 +464,7 @@ files:
|
|
458
464
|
- lib/cocoapods/installer/post_install_hooks_context.rb
|
459
465
|
- lib/cocoapods/installer/post_integrate_hooks_context.rb
|
460
466
|
- lib/cocoapods/installer/pre_install_hooks_context.rb
|
467
|
+
- lib/cocoapods/installer/pre_integrate_hooks_context.rb
|
461
468
|
- lib/cocoapods/installer/project_cache/project_cache.rb
|
462
469
|
- lib/cocoapods/installer/project_cache/project_cache_analysis_result.rb
|
463
470
|
- lib/cocoapods/installer/project_cache/project_cache_analyzer.rb
|
@@ -531,15 +538,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
531
538
|
requirements:
|
532
539
|
- - ">="
|
533
540
|
- !ruby/object:Gem::Version
|
534
|
-
version: 2.
|
541
|
+
version: '2.6'
|
535
542
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
536
543
|
requirements:
|
537
|
-
- - "
|
544
|
+
- - ">"
|
538
545
|
- !ruby/object:Gem::Version
|
539
|
-
version:
|
546
|
+
version: 1.3.1
|
540
547
|
requirements: []
|
541
|
-
rubygems_version: 3.
|
548
|
+
rubygems_version: 3.1.3
|
542
549
|
signing_key:
|
543
|
-
specification_version:
|
550
|
+
specification_version: 4
|
544
551
|
summary: The Cocoa library package manager.
|
545
552
|
test_files: []
|