cocoapods 1.7.0.rc.1 → 1.7.0.rc.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
- SHA256:
3
- metadata.gz: 643fc24912e72d9f38aaf90853b155a6b5468d5a370e1f97fb31e89b248f200a
4
- data.tar.gz: daee7ef9f7178e551ef6e585a7524752c26436e8f70cc98c2ba997786d67cc80
2
+ SHA1:
3
+ metadata.gz: fa00a44e0b53a2cb25e62b107e82a9a9b3d50943
4
+ data.tar.gz: 0aaff85a1def4fac9642fdc149ac66e4e1e5bd6a
5
5
  SHA512:
6
- metadata.gz: 6830b2ef5e87f413426ec1b78cb87b182883c1e910173d9d630a6541f4d00d89e32c5a24ac0dc11ac5fdc63b8a50b7bd8cb8c15dd4bb86d2a671edc3a716995a
7
- data.tar.gz: 6684ac7cf04ade56943495ed8f8b860b23340d572275768985b0aa2eca7ad877352bd334ed93981080eb2bf8b9f0ff45ef787af2581b3fd29f96f05d2b4546e2
6
+ metadata.gz: 8d3508da82c5cfbf880d92247e743c88dc17d06b5b7de9a58fca775bb96101a9eb09efc283beaec517569566bf1504c37f23697765602c3c69ed2beee618fd94
7
+ data.tar.gz: a1a51889d4ef2fddb117c62c60f8ba2392969d3491a3555992d55e1a54b2d5a60cd4416b9bf22fc25dae14da8a8d42a12b524368adaafb08daf19f950ac5d0bb
@@ -4,6 +4,31 @@ 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.0.rc.2 (2019-05-15)
8
+
9
+ ##### Enhancements
10
+
11
+ * None.
12
+
13
+ ##### Bug Fixes
14
+
15
+ * Don't add resources to a second test_spec pod target build phase
16
+ [Paul Beusterien](https://github.com/paulb777)
17
+ [#8173](https://github.com/CocoaPods/CocoaPods/issues/8173)
18
+
19
+ * Fix 1.7.0.rc.1 static library regression for pods with `header_dir` attribute
20
+ [Paul Beusterien](https://github.com/paulb777)
21
+ [#8765](https://github.com/CocoaPods/CocoaPods/issues/8765)
22
+
23
+ * Scope app spec dependent targets when no dedup'ing targets.
24
+ [Dimitris Koutsogiorgas](https://github.com/dnkoutso)
25
+ [#8770](https://github.com/CocoaPods/CocoaPods/pull/8770)
26
+
27
+ * Fix embedding static frameworks in extensions while using `use_frameworks!`
28
+ [Martin Fiebig](https://github.com/mfiebig)
29
+ [#8798](https://github.com/CocoaPods/CocoaPods/pull/8798)
30
+
31
+
7
32
  ## 1.7.0.rc.1 (2019-05-02)
8
33
 
9
34
  ##### Enhancements
@@ -38,6 +63,7 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
38
63
  [Itay Brenner](https://github.com/itaybre)
39
64
  [#8648](https://github.com/CocoaPods/CocoaPods/issues/8648)
40
65
 
66
+
41
67
  ## 1.7.0.beta.3 (2019-03-28)
42
68
 
43
69
  ##### Enhancements
@@ -213,6 +239,19 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
213
239
  [#8521](https://github.com/CocoaPods/CocoaPods/pull/8521)
214
240
 
215
241
 
242
+ ## 1.6.2 (2019-05-15)
243
+
244
+ ##### Enhancements
245
+
246
+ * None.
247
+
248
+ ##### Bug Fixes
249
+
250
+ * Ensure all embedded pod targets are copied over to the host target.
251
+ [Dimitris Koutsogiorgas](https://github.com/dnkoutso)
252
+ [#8608](https://github.com/CocoaPods/CocoaPods/issues/8608)
253
+
254
+
216
255
  ## 1.6.1 (2019-02-21)
217
256
 
218
257
  ##### 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.rc.1'.freeze unless defined? Pod::VERSION
4
+ VERSION = '1.7.0.rc.2'.freeze unless defined? Pod::VERSION
5
5
  end
@@ -303,11 +303,12 @@ module Pod
303
303
  pod_target_names = Set.new(aggregate_target.pod_targets_for_build_configuration(configuration_name).map(&:name))
304
304
  embedded_pod_targets = embedded_aggregate_target.pod_targets_for_build_configuration(configuration_name).select do |pod_target|
305
305
  if !pod_target_names.include?(pod_target.name) &&
306
- aggregate_target.pod_targets.none? { |aggregate_pod_target| (pod_target.specs - aggregate_pod_target.specs).empty? }
306
+ aggregate_target.pod_targets.none? { |aggregate_pod_target| (pod_target.specs - aggregate_pod_target.specs).empty? } &&
307
+ (libraries_only || pod_target.build_as_dynamic?)
307
308
  pod_target.name
308
309
  end
309
310
  end
310
- embedded_pod_targets_by_build_config[configuration_name] = embedded_pod_targets
311
+ embedded_pod_targets_by_build_config[configuration_name] += embedded_pod_targets
311
312
  end
312
313
  end
313
314
  embedded_pod_targets_by_build_config
@@ -117,15 +117,18 @@ module Pod
117
117
  if cache[cache_key]
118
118
  cache[cache_key]
119
119
  else
120
- target = PodTarget.new(sandbox, host_requires_frameworks, user_build_configurations, archs, platform, specs, [target_definition], file_accessors, target_definition.label,
121
- :build_type => build_type)
122
- target.dependent_targets = dependent_targets.flat_map { |pt| pt.scoped(cache) }.select { |pt| pt.target_definitions == [target_definition] }
123
- target.test_dependent_targets_by_spec_name = Hash[test_dependent_targets_by_spec_name.map do |spec_name, test_pod_targets|
124
- scoped_test_pod_targets = test_pod_targets.flat_map do |test_pod_target|
125
- test_pod_target.scoped(cache).select { |pt| pt.target_definitions == [target_definition] }
126
- end
127
- [spec_name, scoped_test_pod_targets]
128
- end]
120
+ target_definitions = [target_definition]
121
+ target = PodTarget.new(sandbox, host_requires_frameworks, user_build_configurations, archs, platform, specs,
122
+ [target_definition], file_accessors, target_definition.label, :build_type => build_type)
123
+ target.dependent_targets = dependent_targets.flat_map { |pt| pt.scoped(cache) }.select do |pt|
124
+ pt.target_definitions == target_definitions
125
+ end
126
+ target.test_dependent_targets_by_spec_name = scope_dependent_pod_targets(cache,
127
+ test_dependent_targets_by_spec_name,
128
+ target_definitions)
129
+ target.app_dependent_targets_by_spec_name = scope_dependent_pod_targets(cache,
130
+ app_dependent_targets_by_spec_name,
131
+ target_definitions)
129
132
  cache[cache_key] = target
130
133
  end
131
134
  end
@@ -150,7 +153,11 @@ module Pod
150
153
  # @return [Pathname] the pathname for headers in the sandbox.
151
154
  #
152
155
  def headers_sandbox
153
- Pathname.new(product_module_name)
156
+ if root_spec.consumer(platform).header_dir
157
+ Pathname.new(pod_name)
158
+ else
159
+ Pathname.new(product_module_name)
160
+ end
154
161
  end
155
162
 
156
163
  # @return [Hash{FileAccessor => Hash}] Hash of file accessors by header mappings.
@@ -363,13 +370,14 @@ module Pod
363
370
  end
364
371
 
365
372
  # @return [Hash{String=>Array<String>}] The resource and resource bundle paths this target depends upon keyed by
366
- # spec name.
373
+ # spec name. Resources for app specs and test specs are directly added to “Copy Bundle Resources” phase
374
+ # from the generated targets therefore they are not part of the resource paths.
367
375
  #
368
376
  def resource_paths
369
377
  @resource_paths ||= begin
370
378
  file_accessors.each_with_object({}) do |file_accessor, hash|
371
379
  resource_paths = file_accessor.resources.map { |res| "${PODS_ROOT}/#{res.relative_path_from(sandbox.project_path.dirname)}" }
372
- resource_paths = [] if file_accessor.spec.app_specification?
380
+ resource_paths = [] if file_accessor.spec.non_library_specification?
373
381
  prefix = Pod::Target::BuildSettings::CONFIGURATION_BUILD_DIR_VARIABLE
374
382
  prefix = configuration_build_dir unless file_accessor.spec.test_specification?
375
383
  resource_bundle_paths = file_accessor.resource_bundles.keys.map { |name| "#{prefix}/#{name.shellescape}.bundle" }
@@ -760,6 +768,15 @@ module Pod
760
768
 
761
769
  private
762
770
 
771
+ def scope_dependent_pod_targets(cache, dependent_targets, target_definitions)
772
+ Hash[dependent_targets.map do |spec_name, pod_targets|
773
+ scoped_pod_targets = pod_targets.flat_map do |pod_target|
774
+ pod_target.scoped(cache).select { |pt| pt.target_definitions == target_definitions }
775
+ end
776
+ [spec_name, scoped_pod_targets]
777
+ end]
778
+ end
779
+
763
780
  def create_build_settings
764
781
  BuildSettings::PodTargetSettings.new(self)
765
782
  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.7.0.rc.1
4
+ version: 1.7.0.rc.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: 2019-05-02 00:00:00.000000000 Z
14
+ date: 2019-05-15 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.rc.1
22
+ version: 1.7.0.rc.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.7.0.rc.1
29
+ version: 1.7.0.rc.2
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: claide
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -557,7 +557,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
557
557
  - !ruby/object:Gem::Version
558
558
  version: '0'
559
559
  requirements: []
560
- rubygems_version: 3.0.1
560
+ rubyforge_project:
561
+ rubygems_version: 2.6.14
561
562
  signing_key:
562
563
  specification_version: 3
563
564
  summary: The Cocoa library package manager.