cocoapods 1.10.1 → 1.10.2

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: 3d7d68150bd77329db1e629e610c6a8fa831590339a9502e5bedd4eaeaf1be1f
4
- data.tar.gz: 33a2b4a376e840e9129200ad3d8e2ffc50ff006f53f5963343ec6b75fd0a4baf
3
+ metadata.gz: 9c9864dec487d5e04b5d9cf7f4bc36a25ba9793c629ae64bf71eabb30cc8b040
4
+ data.tar.gz: 70643343f2fc6e263c7fbcd41df19646b6c321d5c3b7d112b1a674bc72bdbdf1
5
5
  SHA512:
6
- metadata.gz: b501dc64078ee094a69bd497416114c68f226136174eb8c3c18b1e57fdcd37ef7a97c0da2de404f3a4d7433865fb4d952712b717f88d59e3d86ab2a7ce2bed98
7
- data.tar.gz: ffd57b0deec005f87f65856f2eb28902b00dc966336b05d65994e2aa8ede4f02136144aeae82f059d401d2abed5c95f8e836ea46d361aa28f40077b5172d1b48
6
+ metadata.gz: d1b48cdba64b6721446371c392d5fb1f93a28854addcc7dc4724e79484cbe995b75f46675ffd0a0ba3feafb60590e60baf22b725062119bf0e64246e68c5502c
7
+ data.tar.gz: de5fa055225078932fac6470a3fda8bb0deef31f6a9165a4b77c84efb778989e82edb9e54197a319b9704c1f0c415516fe703a6333f05f47401087d1e78efa18
data/CHANGELOG.md CHANGED
@@ -4,6 +4,27 @@ To install or update CocoaPods see this [guide](https://guides.cocoapods.org/usi
4
4
 
5
5
  To install release candidates run `[sudo] gem install cocoapods --pre`
6
6
 
7
+ ## 1.10.2 (2021-07-28)
8
+
9
+ ##### Enhancements
10
+
11
+ * None.
12
+
13
+ ##### Bug Fixes
14
+
15
+ * Fix errors when archiving a Catalyst app which depends on a pod which uses `header_mappings_dir`.
16
+ [Thomas Goyne](https://github.com/tgoyne)
17
+ [#10224](https://github.com/CocoaPods/CocoaPods/pull/10224)
18
+
19
+ * Fix missing `-ObjC` for static XCFrameworks - take 2
20
+ [Paul Beusterien](https://github.com/paulb777)
21
+ [#10459](https://github.com/CocoaPods/CocoaPods/issuess/10459)
22
+
23
+ * Change URL validation failure to a note
24
+ [Paul Beusterien](https://github.com/paulb777)
25
+ [#10291](https://github.com/CocoaPods/CocoaPods/issues/10291)
26
+
27
+
7
28
  ## 1.10.1 (2021-01-07)
8
29
 
9
30
  ##### Enhancements
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the CocoaPods command line tool.
3
3
  #
4
- VERSION = '1.10.1'.freeze unless defined? Pod::VERSION
4
+ VERSION = '1.10.2'.freeze unless defined? Pod::VERSION
5
5
  end
@@ -850,7 +850,7 @@ module Pod
850
850
  end
851
851
 
852
852
  # Creates a build phase which links the versioned header folders
853
- # of the OS X into the framework bundle's root root directory.
853
+ # of the OS X framework into the framework bundle's root directory.
854
854
  # This is only necessary because the way how headers are copied
855
855
  # via custom copy file build phases in combination with
856
856
  # header_mappings_dir interferes with xcodebuild's expectations
@@ -862,11 +862,16 @@ module Pod
862
862
  # @return [void]
863
863
  #
864
864
  def create_build_phase_to_symlink_header_folders(native_target)
865
- return unless target.platform.name == :osx && any_header_mapping_dirs?
865
+ # This is required on iOS for Catalyst, which uses macOS framework layouts
866
+ return unless (target.platform.name == :osx || target.platform.name == :ios) && any_header_mapping_dirs?
866
867
 
867
868
  build_phase = native_target.new_shell_script_build_phase('Create Symlinks to Header Folders')
868
869
  build_phase.shell_script = <<-eos.strip_heredoc
869
870
  cd "$CONFIGURATION_BUILD_DIR/$WRAPPER_NAME" || exit 1
871
+ if [ ! -d Versions ]; then
872
+ # Not a versioned framework, so no need to do anything
873
+ exit 0
874
+ fi
870
875
 
871
876
  public_path="${PUBLIC_HEADERS_FOLDER_PATH\#\$CONTENTS_FOLDER_PATH/}"
872
877
  if [ ! -f "$public_path" ]; then
@@ -172,6 +172,15 @@ module Pod
172
172
  end
173
173
  end
174
174
 
175
+ # @return [Array<Pathname>] The paths of the dynamic xcframework bundles
176
+ # that come shipped with the Pod.
177
+ #
178
+ def vendored_static_xcframeworks
179
+ vendored_xcframeworks.select do |path|
180
+ Xcode::XCFramework.new(path).build_type == BuildType.static_framework
181
+ end
182
+ end
183
+
175
184
  # @return [Array<Pathname>] The paths of the static (fake) framework
176
185
  # bundles that come shipped with the Pod.
177
186
  #
@@ -289,7 +298,7 @@ module Pod
289
298
  # that come shipped with the Pod.
290
299
  #
291
300
  def vendored_static_artifacts
292
- vendored_static_libraries + vendored_static_frameworks
301
+ vendored_static_libraries + vendored_static_frameworks + vendored_static_xcframeworks
293
302
  end
294
303
 
295
304
  # @return [Hash{String => Array<Pathname>}] A hash that describes the
@@ -1263,24 +1263,8 @@ module Pod
1263
1263
  end
1264
1264
  end
1265
1265
 
1266
- # @return [Boolean]
1267
- define_build_settings_method :any_vendored_static_xcframeworks?, :memoized => true do
1268
- pod_targets.any? do |pt|
1269
- pt.build_settings.any? do |bs|
1270
- if bs.respond_to?(:vendored_xcframeworks)
1271
- bs.vendored_xcframeworks.any? do |xcf|
1272
- xcf.build_type == BuildType.static_framework
1273
- end
1274
- end
1275
- end
1276
- end
1277
- end
1278
-
1279
1266
  # @return [Boolean]
1280
1267
  define_build_settings_method :any_vendored_static_artifacts?, :memoized => true do
1281
- if any_vendored_static_xcframeworks?
1282
- return true
1283
- end
1284
1268
  pod_targets.any? do |pt|
1285
1269
  pt.file_accessors.any? do |fa|
1286
1270
  !fa.vendored_static_artifacts.empty?
@@ -443,7 +443,7 @@ module Pod
443
443
  if !resp
444
444
  warning('url', "There was a problem validating the URL #{url}.", true)
445
445
  elsif !resp.success?
446
- warning('url', "The URL (#{url}) is not reachable.", true)
446
+ note('url', "The URL (#{url}) is not reachable.", true)
447
447
  end
448
448
 
449
449
  resp
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.10.1
4
+ version: 1.10.2
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-01-07 00:00:00.000000000 Z
14
+ date: 2021-07-28 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.10.1
22
+ version: 1.10.2
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.10.1
29
+ version: 1.10.2
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: claide
32
32
  requirement: !ruby/object:Gem::Requirement