cocoapods 1.7.0.rc.2 → 1.7.0

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
- SHA1:
3
- metadata.gz: fa00a44e0b53a2cb25e62b107e82a9a9b3d50943
4
- data.tar.gz: 0aaff85a1def4fac9642fdc149ac66e4e1e5bd6a
2
+ SHA256:
3
+ metadata.gz: 70f50bfb18170b218fc117a4c8d59468b9149968100103637709b2775c843904
4
+ data.tar.gz: 0ee253db1bbdec396a13f6c918bf32514e368aabe331c7ac29022d4cef5cc7cd
5
5
  SHA512:
6
- metadata.gz: 8d3508da82c5cfbf880d92247e743c88dc17d06b5b7de9a58fca775bb96101a9eb09efc283beaec517569566bf1504c37f23697765602c3c69ed2beee618fd94
7
- data.tar.gz: a1a51889d4ef2fddb117c62c60f8ba2392969d3491a3555992d55e1a54b2d5a60cd4416b9bf22fc25dae14da8a8d42a12b524368adaafb08daf19f950ac5d0bb
6
+ metadata.gz: 8840e4126769ff3909f334c0c17df39124c6f13648d4eb77001a093e1d9e5759da6cbac8b9e9f224d7841fea15211297f5f43a3da5174955d54e05ed82cf1368
7
+ data.tar.gz: 9a936992e1998d2548b82b5c35bbb9f91d10bd8de2b4140a43c291d99b0d0bf7f2a1712832b4b121ef58d5bd64561f34aaab8efcc64460747974bca1992cb930
@@ -4,6 +4,27 @@ 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 (2019-05-22)
8
+
9
+ ##### Enhancements
10
+
11
+ * None.
12
+
13
+ ##### Bug Fixes
14
+
15
+ * Fix 1.7.0.rc.2 regression - Resources need to be added for test specs in library builds
16
+ [Paul Beusterien](https://github.com/paulb777)
17
+ [#8812](https://github.com/CocoaPods/CocoaPods/pull/8812)
18
+
19
+ * Configure schemes regardless if they are being shared or not.
20
+ [Dimitris Koutsogiorgas](https://github.com/dnkoutso)
21
+ [#8815](https://github.com/CocoaPods/CocoaPods/pull/8815)
22
+
23
+ * Update dSYM stripping string matcher for 64-bit only dSYMs.
24
+ [Dimitris Koutsogiorgas](https://github.com/dnkoutso)
25
+ [#8827](https://github.com/CocoaPods/CocoaPods/issues/8827)
26
+
27
+
7
28
  ## 1.7.0.rc.2 (2019-05-15)
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.7.0.rc.2'.freeze unless defined? Pod::VERSION
4
+ VERSION = '1.7.0'.freeze unless defined? Pod::VERSION
5
5
  end
@@ -139,7 +139,7 @@ module Pod
139
139
  binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}"
140
140
 
141
141
  # Strip invalid architectures so "fat" simulator / device frameworks work on device
142
- if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then
142
+ if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then
143
143
  strip_invalid_archs "$binary"
144
144
  fi
145
145
 
@@ -318,7 +318,7 @@ module Pod
318
318
  all_projects_by_pod_targets.merge!(pods_project_by_targets) if pods_project_by_targets
319
319
  all_projects_by_pod_targets.merge!(projects_by_pod_targets) if projects_by_pod_targets
320
320
  all_projects_by_pod_targets.each do |project, pod_targets|
321
- generator.share_development_pod_schemes(project, development_pod_targets(pod_targets))
321
+ generator.configure_schemes(project, pod_targets)
322
322
  end
323
323
  end
324
324
  end
@@ -74,16 +74,18 @@ module Pod
74
74
  @metadata_cache = metadata_cache
75
75
  end
76
76
 
77
- # Shares schemes of development Pods.
77
+ # Configure schemes for the specified project and pod targets. Schemes for development pods will be shared
78
+ # if requested by the integration.
79
+ #
80
+ # @param [PBXProject] project The project to configure schemes for.
81
+ # @param [Array<PodTarget>] pod_targets The pod targets within that project to configure their schemes.
78
82
  #
79
83
  # @return [void]
80
84
  #
81
- def share_development_pod_schemes(project, development_pod_targets = [])
82
- targets = development_pod_targets.select do |target|
83
- target.should_build? && share_scheme_for_development_pod?(target.pod_name)
84
- end
85
- targets.each do |pod_target|
86
- configure_schemes_for_pod_target(project, pod_target)
85
+ def configure_schemes(project, pod_targets)
86
+ pod_targets.each do |pod_target|
87
+ share_scheme = pod_target.should_build? && share_scheme_for_development_pod?(pod_target.pod_name) && sandbox.local?(pod_target.pod_name)
88
+ configure_schemes_for_pod_target(project, pod_target, share_scheme)
87
89
  end
88
90
  end
89
91
 
@@ -216,7 +218,7 @@ module Pod
216
218
  end
217
219
  end
218
220
 
219
- def configure_schemes_for_pod_target(project, pod_target)
221
+ def configure_schemes_for_pod_target(project, pod_target, share_scheme)
220
222
  specs = [pod_target.root_spec] + pod_target.test_specs + pod_target.app_specs
221
223
  specs.each do |spec|
222
224
  scheme_name = spec.spec_type == :library ? pod_target.label : pod_target.non_library_spec_label(spec)
@@ -236,7 +238,7 @@ module Pod
236
238
  scheme.launch_action.environment_variables = environment_variables
237
239
  scheme.save!
238
240
  end
239
- Xcodeproj::XCScheme.share_scheme(project.path, scheme_name)
241
+ Xcodeproj::XCScheme.share_scheme(project.path, scheme_name) if share_scheme
240
242
  end
241
243
  end
242
244
  end
@@ -371,13 +371,13 @@ module Pod
371
371
 
372
372
  # @return [Hash{String=>Array<String>}] The resource and resource bundle paths this target depends upon keyed by
373
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.
374
+ # from the generated targets for frameworks, but not libraries. Therefore they are not part of the resource paths.
375
375
  #
376
376
  def resource_paths
377
377
  @resource_paths ||= begin
378
378
  file_accessors.each_with_object({}) do |file_accessor, hash|
379
379
  resource_paths = file_accessor.resources.map { |res| "${PODS_ROOT}/#{res.relative_path_from(sandbox.project_path.dirname)}" }
380
- resource_paths = [] if file_accessor.spec.non_library_specification?
380
+ resource_paths = [] if file_accessor.spec.non_library_specification? && build_as_framework?
381
381
  prefix = Pod::Target::BuildSettings::CONFIGURATION_BUILD_DIR_VARIABLE
382
382
  prefix = configuration_build_dir unless file_accessor.spec.test_specification?
383
383
  resource_bundle_paths = file_accessor.resource_bundles.keys.map { |name| "#{prefix}/#{name.shellescape}.bundle" }
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.2
4
+ version: 1.7.0
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-15 00:00:00.000000000 Z
14
+ date: 2019-05-22 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.2
22
+ version: 1.7.0
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.2
29
+ version: 1.7.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: claide
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -557,8 +557,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
557
557
  - !ruby/object:Gem::Version
558
558
  version: '0'
559
559
  requirements: []
560
- rubyforge_project:
561
- rubygems_version: 2.6.14
560
+ rubygems_version: 3.0.3
562
561
  signing_key:
563
562
  specification_version: 3
564
563
  summary: The Cocoa library package manager.