cocoapods 1.7.0 → 1.7.1

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: 70f50bfb18170b218fc117a4c8d59468b9149968100103637709b2775c843904
4
- data.tar.gz: 0ee253db1bbdec396a13f6c918bf32514e368aabe331c7ac29022d4cef5cc7cd
3
+ metadata.gz: 133b1c673e6af75d8fb324a23f8ecfeea33c118e12c033e6312945e8cc875ff5
4
+ data.tar.gz: 040ac7f7ab1f16404685f655258a212b23d2317fca9e62a5b239fde30abee5b7
5
5
  SHA512:
6
- metadata.gz: 8840e4126769ff3909f334c0c17df39124c6f13648d4eb77001a093e1d9e5759da6cbac8b9e9f224d7841fea15211297f5f43a3da5174955d54e05ed82cf1368
7
- data.tar.gz: 9a936992e1998d2548b82b5c35bbb9f91d10bd8de2b4140a43c291d99b0d0bf7f2a1712832b4b121ef58d5bd64561f34aaab8efcc64460747974bca1992cb930
6
+ metadata.gz: 6fe30f17bfdcc4a10cc04e772941796d01536456fd6bec6e7c952b25dc3b55564035ada708526d0a478fe7ec8609f4baf296e67fe62ba3d84859f3e7afac2902
7
+ data.tar.gz: c1e26fbc92fcc83b03126f6c5167348b740be8e56a8ff660c545c4bef42ca420037640d0b974c6f613b3277135c365bd1075944f293a7e09d8d34ef102293e16
data/CHANGELOG.md CHANGED
@@ -4,6 +4,23 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
4
4
 
5
5
  To install release candidates run `[sudo] gem install cocoapods --pre`
6
6
 
7
+ ## 1.7.1 (2019-05-30)
8
+
9
+ ##### Enhancements
10
+
11
+ * None.
12
+
13
+ ##### Bug Fixes
14
+
15
+ * Stabilize product reference UUIDs to fix Xcode crashing with incremental installation.
16
+ [Sebastian Shanus](https://github.com/sebastianv1)
17
+ [#8845](https://github.com/CocoaPods/CocoaPods/pull/8845)
18
+
19
+ * Fix a 1.7.0 regression in header directory paths when using static libraries
20
+ [Eric Amorde](https://github.com/amorde)
21
+ [#8836](https://github.com/CocoaPods/CocoaPods/issues/8836)
22
+
23
+
7
24
  ## 1.7.0 (2019-05-22)
8
25
 
9
26
  ##### Enhancements
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the CocoaPods command line tool.
3
3
  #
4
- VERSION = '1.7.0'.freeze unless defined? Pod::VERSION
4
+ VERSION = '1.7.1'.freeze unless defined? Pod::VERSION
5
5
  end
@@ -50,7 +50,10 @@ module Pod
50
50
  if pod_target.public_header_mappings_by_file_accessor.empty?
51
51
  []
52
52
  else
53
- [sandbox.public_headers.root.join(pod_target.headers_sandbox)]
53
+ [
54
+ sandbox.public_headers.root.join(pod_target.headers_sandbox),
55
+ pod_target.module_map_path.dirname,
56
+ ].uniq
54
57
  end
55
58
  end
56
59
 
@@ -3,9 +3,9 @@ module Pod
3
3
  # Generates stable UUIDs for Native Targets.
4
4
  #
5
5
  class TargetUUIDGenerator < Xcodeproj::Project::UUIDGenerator
6
- # This method override is used to ONLY generate stable UUIDs for PBXNativeTarget instances and no other type.
7
- # Stable native target UUIDs are necessary for incremental installation because other projects reference the
8
- # target by its UUID in the remoteGlobalIDString field.
6
+ # This method override is used to ONLY generate stable UUIDs for PBXNativeTarget instances and their sibling PBXFileReference
7
+ # product reference in the project. Stable native target UUIDs are necessary for incremental installation
8
+ # because other projects reference the target and product reference by its UUID in the remoteGlobalIDString field.
9
9
  #
10
10
  # @param [Array<Project>] projects
11
11
  # The list of projects used to generate stabe target UUIDs.
@@ -15,11 +15,13 @@ module Pod
15
15
  projects.each do |project|
16
16
  project_basename = project.path.basename.to_s
17
17
  project.objects.each do |object|
18
- @paths_by_object[object] = if object.is_a? Xcodeproj::Project::Object::AbstractTarget
19
- Digest::MD5.hexdigest(project_basename + object.name).upcase
20
- else
21
- object.uuid
22
- end
18
+ @paths_by_object[object] = object.uuid
19
+ end
20
+ project.targets.each do |target|
21
+ @paths_by_object[target] = Digest::MD5.hexdigest(project_basename + target.name).upcase
22
+ if target.is_a? Xcodeproj::Project::Object::PBXNativeTarget
23
+ @paths_by_object[target.product_reference] = Digest::MD5.hexdigest(project_basename + 'product_reference' + target.name).upcase
24
+ end
23
25
  end
24
26
  end
25
27
  end
@@ -153,11 +153,7 @@ module Pod
153
153
  # @return [Pathname] the pathname for headers in the sandbox.
154
154
  #
155
155
  def headers_sandbox
156
- if root_spec.consumer(platform).header_dir
157
- Pathname.new(pod_name)
158
- else
159
- Pathname.new(product_module_name)
160
- end
156
+ Pathname.new(pod_name)
161
157
  end
162
158
 
163
159
  # @return [Hash{FileAccessor => Hash}] Hash of file accessors by header mappings.
@@ -1,6 +1,6 @@
1
1
  module Pod
2
2
  module VersionMetadata
3
- CACHE_VERSION = '001'.freeze
3
+ CACHE_VERSION = '002'.freeze
4
4
 
5
5
  def self.gem_version
6
6
  Pod::VERSION
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.7.0
4
+ version: 1.7.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: 2019-05-22 00:00:00.000000000 Z
14
+ date: 2019-05-30 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.7.0
22
+ version: 1.7.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.7.0
29
+ version: 1.7.1
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: claide
32
32
  requirement: !ruby/object:Gem::Requirement