cocoapods 1.7.0 → 1.7.1
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 +4 -4
- data/CHANGELOG.md +17 -0
- data/lib/cocoapods/gem_version.rb +1 -1
- data/lib/cocoapods/installer/sandbox_dir_cleaner.rb +4 -1
- data/lib/cocoapods/installer/target_uuid_generator.rb +10 -8
- data/lib/cocoapods/target/pod_target.rb +1 -5
- data/lib/cocoapods/version_metadata.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 133b1c673e6af75d8fb324a23f8ecfeea33c118e12c033e6312945e8cc875ff5
|
4
|
+
data.tar.gz: 040ac7f7ab1f16404685f655258a212b23d2317fca9e62a5b239fde30abee5b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
@@ -50,7 +50,10 @@ module Pod
|
|
50
50
|
if pod_target.public_header_mappings_by_file_accessor.empty?
|
51
51
|
[]
|
52
52
|
else
|
53
|
-
[
|
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
|
7
|
-
# Stable native target UUIDs are necessary for incremental installation
|
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] =
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
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
|
-
|
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.
|
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.
|
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-
|
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.
|
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.
|
29
|
+
version: 1.7.1
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: claide
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|