cocoapods 1.8.0.beta.1 → 1.8.0.beta.2
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 +29 -3
- data/lib/cocoapods/gem_version.rb +1 -1
- data/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb +8 -1
- data/lib/cocoapods/resolver.rb +3 -0
- data/lib/cocoapods/resolver/resolver_specification.rb +1 -1
- data/lib/cocoapods/target/build_settings.rb +6 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e858311d79665c984b4e70f2d110dcc243e5e2c59e99072ac8578eeeb42caf6
|
4
|
+
data.tar.gz: 74ffa672b361afc02b514510ade6ba9b3c36b141e4fb536809b013223067bad0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43bc9d9085b54e4f6f9412b259b04ea6c6020912696400bf47003a03798878e3ab5fcedc3bca3e0cdfefd099f7023a1399be2c42745bfb9d964db6f6f498abaf
|
7
|
+
data.tar.gz: f00fd0c47f6c477858fc1e15f92c7f34d09e3dabab89108ef31f99a47285b5d3923418f2c2b3e63d08d1903e803b2203b0acf64b700f45d7b644184ff3f3aa25
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,32 @@ 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.8.0.beta.2 (2019-08-27)
|
8
|
+
|
9
|
+
##### Enhancements
|
10
|
+
|
11
|
+
* None.
|
12
|
+
|
13
|
+
##### Bug Fixes
|
14
|
+
|
15
|
+
* Do not verify deployment target version during resolution for non library specs.
|
16
|
+
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
|
17
|
+
[#9105](https://github.com/CocoaPods/CocoaPods/issues/9105)
|
18
|
+
|
19
|
+
* Add `USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES` to all `.xcconfig`s
|
20
|
+
[Igor Makarov](https://github.com/igor-makarov)
|
21
|
+
[#8073](https://github.com/CocoaPods/CocoaPods/issues/8073)
|
22
|
+
[#9125](https://github.com/CocoaPods/CocoaPods/pull/9125)
|
23
|
+
[cocoapods-integration-specs#248](https://github.com/CocoaPods/cocoapods-integration-specs/pull/248)
|
24
|
+
|
25
|
+
* Fix iOS app spec code signing.
|
26
|
+
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
|
27
|
+
[#9110](https://github.com/CocoaPods/CocoaPods/issues/9110)
|
28
|
+
|
29
|
+
* Add Apple watch device family to resource bundles built for WatchOS
|
30
|
+
[Aaron McDaniel](https://github.com/Spilly)
|
31
|
+
[#9075](https://github.com/CocoaPods/CocoaPods/issues/9075)
|
32
|
+
|
7
33
|
## 1.8.0.beta.1 (2019-08-05)
|
8
34
|
|
9
35
|
##### Enhancements
|
@@ -67,8 +93,8 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
|
|
67
93
|
[#8768](https://github.com/CocoaPods/CocoaPods/pull/8768)
|
68
94
|
|
69
95
|
* Set Default Module for Storyboards in resource bundle targets.
|
70
|
-
|
71
|
-
|
96
|
+
[James Treanor](https://github.com/jtreanor)
|
97
|
+
[#8890](https://github.com/CocoaPods/CocoaPods/pull/8890)
|
72
98
|
|
73
99
|
* Print correct platform name when inferring target platform.
|
74
100
|
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
|
@@ -135,7 +161,7 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
|
|
135
161
|
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
|
136
162
|
[#9029](https://github.com/CocoaPods/CocoaPods/pull/9029)
|
137
163
|
|
138
|
-
|
164
|
+
* Fix a bug that prevented dependencies in a plugin source from resolving
|
139
165
|
[Eric Amorde](https://github.com/amorde)
|
140
166
|
[#8540](https://github.com/CocoaPods/CocoaPods/issues/8540)
|
141
167
|
|
@@ -445,6 +445,13 @@ module Pod
|
|
445
445
|
end
|
446
446
|
# For macOS we do not code sign the appbundle because we do not code sign the frameworks either.
|
447
447
|
configuration.build_settings['CODE_SIGN_IDENTITY'] = '' if target.platform == :osx
|
448
|
+
# For iOS, we delete the target_installer empty values that get set for libraries since CocoaPods will
|
449
|
+
# code sign the libraries manually but for apps this is not true.
|
450
|
+
if target.platform == :ios
|
451
|
+
configuration.build_settings.delete('CODE_SIGN_IDENTITY[sdk=appletvos*]')
|
452
|
+
configuration.build_settings.delete('CODE_SIGN_IDENTITY[sdk=iphoneos*]')
|
453
|
+
configuration.build_settings.delete('CODE_SIGN_IDENTITY[sdk=watchos*]')
|
454
|
+
end
|
448
455
|
end
|
449
456
|
|
450
457
|
remove_pod_target_xcconfig_overrides_from_target(target.build_settings_for_spec(app_spec), app_native_target)
|
@@ -533,7 +540,7 @@ module Pod
|
|
533
540
|
device_family_by_platform = {
|
534
541
|
:ios => '1,2',
|
535
542
|
:tvos => '3',
|
536
|
-
:watchos => '1,2'
|
543
|
+
:watchos => '1,2,4',
|
537
544
|
}
|
538
545
|
|
539
546
|
if (family = device_family_by_platform[target.platform.name])
|
data/lib/cocoapods/resolver.rb
CHANGED
@@ -532,6 +532,7 @@ You have either:#{specs_update_message}
|
|
532
532
|
# @param [Specification] spec
|
533
533
|
#
|
534
534
|
# @return [Bool]
|
535
|
+
#
|
535
536
|
def spec_is_platform_compatible?(dependency_graph, dependency, spec)
|
536
537
|
# This is safe since a pod will only be in locked dependencies if we're
|
537
538
|
# using the same exact version
|
@@ -547,6 +548,8 @@ You have either:#{specs_update_message}
|
|
547
548
|
platforms_to_satisfy.all? do |platform_to_satisfy|
|
548
549
|
available_platforms.all? do |spec_platform|
|
549
550
|
next true unless spec_platform.name == platform_to_satisfy.name
|
551
|
+
# For non library specs all we care is to match by the platform name, not to satisfy the version.
|
552
|
+
next true if spec.non_library_specification?
|
550
553
|
platform_to_satisfy.supports?(spec_platform)
|
551
554
|
end
|
552
555
|
end
|
@@ -12,7 +12,7 @@ module Pod
|
|
12
12
|
#
|
13
13
|
attr_reader :source
|
14
14
|
|
15
|
-
# @return [Bool] whether this resolved specification is by non-library targets.
|
15
|
+
# @return [Bool] whether this resolved specification is used by non-library targets.
|
16
16
|
#
|
17
17
|
attr_reader :used_by_non_library_targets_only
|
18
18
|
alias used_by_non_library_targets_only? used_by_non_library_targets_only
|
@@ -192,7 +192,7 @@ module Pod
|
|
192
192
|
|
193
193
|
#-------------------------------------------------------------------------#
|
194
194
|
|
195
|
-
# @!group
|
195
|
+
# @!group Build System
|
196
196
|
|
197
197
|
# @return [String]
|
198
198
|
define_build_settings_method :pods_build_dir, :build_setting => true do
|
@@ -204,6 +204,11 @@ module Pod
|
|
204
204
|
'${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)'
|
205
205
|
end
|
206
206
|
|
207
|
+
# @return [String]
|
208
|
+
define_build_settings_method :use_recursive_script_inputs_in_script_phases, :build_setting => true do
|
209
|
+
'YES'
|
210
|
+
end
|
211
|
+
|
207
212
|
#-------------------------------------------------------------------------#
|
208
213
|
|
209
214
|
# @!group Code Signing
|
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.8.0.beta.
|
4
|
+
version: 1.8.0.beta.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-08-
|
14
|
+
date: 2019-08-27 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.8.0.beta.
|
22
|
+
version: 1.8.0.beta.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.8.0.beta.
|
29
|
+
version: 1.8.0.beta.2
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: claide
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -153,7 +153,7 @@ dependencies:
|
|
153
153
|
requirements:
|
154
154
|
- - ">="
|
155
155
|
- !ruby/object:Gem::Version
|
156
|
-
version: 1.
|
156
|
+
version: 1.4.0
|
157
157
|
- - "<"
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '2.0'
|
@@ -163,7 +163,7 @@ dependencies:
|
|
163
163
|
requirements:
|
164
164
|
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 1.
|
166
|
+
version: 1.4.0
|
167
167
|
- - "<"
|
168
168
|
- !ruby/object:Gem::Version
|
169
169
|
version: '2.0'
|