cocoapods 1.5.0.beta.1 → 1.5.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23ada42af2f965ab38a89ef0b7c1c131f23efb03297f118b9804a4232a59b791
4
- data.tar.gz: f4f83b2e947828dec6f070c7f500261a8ee787f754e839ce76d82cecb93bf6bb
3
+ metadata.gz: 654dba8405c2e6c2e3d62eb4bfdaf1c59eae5d6ff8c3aa485d439a62d834247d
4
+ data.tar.gz: bfbe39709a5c0b3bcdb5bf7e7e19a434425233f48322cb8d0c472a04916c71c0
5
5
  SHA512:
6
- metadata.gz: 517bac4e5a5b1c9db7920e7d98672388d723e210144be3e25389b938b4d5cd7e958d9c82eb66e2a66ccde6f333f074ade23d64c24cc0a698b7eef3e2d69d3f04
7
- data.tar.gz: d328813a70d9b5bb595a58c1995687efdf14667161b6de54448ea78fc03a8602a45dd7b08fc6b4ffd5ed412d71e6ba9dfdc06a40cef57096415cf4fcb2f151b1
6
+ metadata.gz: d3f40e8504678a8698895338e9fed53f7ed494b4f619cd852f24e01e8a0aa17b9d571508a01624b92fc8f4ad37221cff6d94d3c41cff553d6b2d3d4325ab2e3a
7
+ data.tar.gz: e45221290d9460f8b8f5ce6dd310aeee02294349627fa146f41e0de6c22456344d2b2035251d3f46768fe3fdac95e69e37d055c02b1e0864c303b0111fa91f9e
@@ -4,6 +4,24 @@ 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.5.0 (2018-04-04)
8
+
9
+ ##### Enhancements
10
+
11
+ * None.
12
+
13
+ ##### Bug Fixes
14
+
15
+ * Escape double quotes for module map contents
16
+ [Dimitris Koutsogiorgas](https://github.com/dnkoutso)
17
+ [#7549](https://github.com/CocoaPods/CocoaPods/pull/7549)
18
+
19
+ * Fix building Swift static library test specs.
20
+ [Samuel Giddins](https://github.com/segiddins)
21
+
22
+ * Swift static libraries can be used in targets whose search paths are inherited.
23
+ [Samuel Giddins](https://github.com/segiddins)
24
+
7
25
  ## 1.5.0.beta.1 (2018-03-23)
8
26
 
9
27
  ##### Enhancements
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the CocoaPods command line tool.
3
3
  #
4
- VERSION = '1.5.0.beta.1'.freeze unless defined? Pod::VERSION
4
+ VERSION = '1.5.0'.freeze unless defined? Pod::VERSION
5
5
  end
@@ -6,7 +6,7 @@ module Pod
6
6
  # with existing headers of the podspec.
7
7
  #
8
8
  class ModuleMap
9
- # @return [PodTarget] the target represented by this Info.plist.
9
+ # @return [PodTarget, AggregateTarget] the target the module map is generated for.
10
10
  #
11
11
  attr_reader :target
12
12
 
@@ -21,7 +21,7 @@ module Pod
21
21
  (:umbrella if umbrella),
22
22
  (:exclude if exclude),
23
23
  'header',
24
- %("#{path}"),
24
+ %("#{path.to_s.gsub('"', '\"')}"),
25
25
  attrs,
26
26
  ].compact.join(' ')
27
27
  end
@@ -38,7 +38,7 @@ module Pod
38
38
 
39
39
  # Initialize a new instance
40
40
  #
41
- # @param [PodTarget] target @see target
41
+ # @param [PodTarget, AggregateTarget] target @see target
42
42
  #
43
43
  def initialize(target)
44
44
  @target = target
@@ -357,7 +357,7 @@ module Pod
357
357
  end
358
358
 
359
359
  other_swift_flags = module_map_files.tap(&:uniq!).flat_map { |f| ['-Xcc', f] }
360
- if target.is_a?(PodTarget) && !target.requires_frameworks? && target.defines_module?
360
+ if target.is_a?(PodTarget) && !target.requires_frameworks? && target.defines_module? && !test_xcconfig
361
361
  # make it possible for a mixed swift/objc static library to be able to import the objc from within swift
362
362
  other_swift_flags += ['-import-underlying-module', '-Xcc', '-fmodule-map-file="${SRCROOT}/${MODULEMAP_FILE}"']
363
363
  end
@@ -223,6 +223,10 @@ module Pod
223
223
  [:app_extension, :watch_extension, :watch2_extension, :tv_extension, :messages_extension]).empty?
224
224
  is_app_extension ||= aggregate_target.user_targets.any? { |ut| ut.common_resolved_build_setting('APPLICATION_EXTENSION_API_ONLY') == 'YES' }
225
225
 
226
+ aggregate_target.search_paths_aggregate_targets.each do |search_paths_target|
227
+ aggregate_target.native_target.add_dependency(search_paths_target.native_target)
228
+ end
229
+
226
230
  aggregate_target.pod_targets.each do |pod_target|
227
231
  test_only_pod_targets.delete(pod_target)
228
232
  configure_app_extension_api_only_for_target(aggregate_target) if is_app_extension
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.5.0.beta.1
4
+ version: 1.5.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: 2018-03-22 00:00:00.000000000 Z
14
+ date: 2018-04-04 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.5.0.beta.1
22
+ version: 1.5.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.5.0.beta.1
29
+ version: 1.5.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: claide
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -73,7 +73,7 @@ dependencies:
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
- version: 1.1.3
76
+ version: 1.2.0
77
77
  - - "<"
78
78
  - !ruby/object:Gem::Version
79
79
  version: '2.0'
@@ -83,7 +83,7 @@ dependencies:
83
83
  requirements:
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
- version: 1.1.3
86
+ version: 1.2.0
87
87
  - - "<"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '2.0'