cocoapods 1.14.3 → 1.16.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 +97 -1
- data/lib/cocoapods/command/lib/lint.rb +1 -1
- data/lib/cocoapods/downloader/cache.rb +5 -2
- data/lib/cocoapods/gem_version.rb +1 -1
- data/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb +9 -1
- data/lib/cocoapods/installer/xcode/pods_project_generator/target_installer.rb +6 -0
- data/lib/cocoapods/target/build_settings.rb +13 -0
- data/lib/cocoapods/validator.rb +3 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d43891dba5d58dbff98cd59cfbd5f0d1284769f8e5baca0fff0c2b7c64151d81
|
|
4
|
+
data.tar.gz: c510fb10ec4fa60e82c84893498f36055d9e29cb29af5b6b7b32b8c171663462
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d619308cbcd85315c71e59674ed3221e8d34bc3f9934bfc6fb90d7e84baad9bcd550a28d434fd573b79d40658e56740e5ee5f8be5e2a208061a7618a8867ea28
|
|
7
|
+
data.tar.gz: 6bdbbaa9c1bfa2073f131171064bf259155234c2bccce36ceecda7d2b2aeedfd194ad8ea76085a2caa0bd9c90ff86256493988e49ee3ebd0099ea04e8ac0ac35
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,103 @@ To install or update CocoaPods see this [guide](https://guides.cocoapods.org/usi
|
|
|
4
4
|
|
|
5
5
|
To install release candidates run `[sudo] gem install cocoapods --pre`
|
|
6
6
|
|
|
7
|
+
## 1.16.2 (2024-10-31)
|
|
8
|
+
|
|
9
|
+
##### Enhancements
|
|
10
|
+
|
|
11
|
+
* None.
|
|
12
|
+
|
|
13
|
+
##### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* Bump min xcodeproj to 1.27.0 to include revert of breaking build setting changes.
|
|
16
|
+
[Eric Amorde](https://github.com/amorde)
|
|
17
|
+
[#12675](https://github.com/CocoaPods/CocoaPods/pull/12675)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## 1.16.1 (2024-10-29)
|
|
21
|
+
|
|
22
|
+
##### Enhancements
|
|
23
|
+
|
|
24
|
+
* None.
|
|
25
|
+
|
|
26
|
+
##### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* Fix an issue breaking `pod lib lint` / `pod spec lint` due to new `ENABLE_USER_SCRIPT_SANDBOXING` setting.
|
|
29
|
+
[Eric Amorde](https://github.com/amorde)
|
|
30
|
+
[#12664](https://github.com/CocoaPods/CocoaPods/issues/12664)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## 1.16.0 (2024-10-29)
|
|
34
|
+
|
|
35
|
+
##### Enhancements
|
|
36
|
+
|
|
37
|
+
* Add Support for Xcode 14.3's ENABLE_MODULE_VERIFIER.
|
|
38
|
+
[sharplet](https://github.com/sharplet)
|
|
39
|
+
[#12390](https://github.com/CocoaPods/CocoaPods/pull/12390)
|
|
40
|
+
|
|
41
|
+
* Xcode 16 support.
|
|
42
|
+
* Bump minimum `xcodeproj` to `1.26.0`
|
|
43
|
+
* Update project generator to set `GENERATE_INFOPLIST_FILE = NO` on pod targets
|
|
44
|
+
* Update project generator to set `ENABLE_USER_SCRIPT_SANDBOXING = NO` = NO` on pod targets to fix build failures with vendored frameworks.
|
|
45
|
+
* Update project geneerator to set `SWIFT_INSTALL_OBJC_HEADER = YES` on pod targets to enable consuming Swift pods from Objective-C.
|
|
46
|
+
|
|
47
|
+
[Eric Amorde](https://github.com/amorde)
|
|
48
|
+
[#12656](https://github.com/CocoaPods/CocoaPods/pull/12656)
|
|
49
|
+
|
|
50
|
+
##### Bug Fixes
|
|
51
|
+
|
|
52
|
+
* Fix pod install issue when git's `core.fsmonitor` feature is enabled (again)
|
|
53
|
+
[Justin Martin](https://github.com/justinseanmartin)
|
|
54
|
+
[#12349](https://github.com/CocoaPods/CocoaPods/issues/12349)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
## 1.15.2 (2024-02-06)
|
|
58
|
+
|
|
59
|
+
##### Enhancements
|
|
60
|
+
|
|
61
|
+
* None.
|
|
62
|
+
|
|
63
|
+
##### Bug Fixes
|
|
64
|
+
|
|
65
|
+
* Revert #12154, #12165, and #12158 to fix regressions in 1.15.0 and 1.15.1.
|
|
66
|
+
[Paul Beusterien](https://github.com/paulb777)
|
|
67
|
+
[#12226](https://github.com/CocoaPods/CocoaPods/issues/12226)
|
|
68
|
+
|
|
69
|
+
## 1.15.1 (2024-02-06)
|
|
70
|
+
|
|
71
|
+
##### Enhancements
|
|
72
|
+
|
|
73
|
+
* None.
|
|
74
|
+
|
|
75
|
+
##### Bug Fixes
|
|
76
|
+
|
|
77
|
+
* Fix an issue when caching downloads of certain Pods.
|
|
78
|
+
[Eric Amorde](https://github.com/amorde)
|
|
79
|
+
[#12226](https://github.com/CocoaPods/CocoaPods/issues/12226)
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
## 1.15.0 (2024-01-28)
|
|
83
|
+
|
|
84
|
+
##### Enhancements
|
|
85
|
+
|
|
86
|
+
* Optimize performance during uncached pod installation.
|
|
87
|
+
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
|
|
88
|
+
[#12154](https://github.com/CocoaPods/CocoaPods/pull/12154)
|
|
89
|
+
|
|
90
|
+
##### Bug Fixes
|
|
91
|
+
|
|
92
|
+
* Fix pod install issue when git's `core.fsmonitor` feature is enabled
|
|
93
|
+
[Justin Martin](https://github.com/justinseanmartin)
|
|
94
|
+
[#11640](https://github.com/CocoaPods/CocoaPods/issues/11640)
|
|
95
|
+
|
|
96
|
+
* Don't use the `remove_destination` parameter in FileUtils.cp_r
|
|
97
|
+
[Justin Martin](https://github.com/justinseanmartin)
|
|
98
|
+
[#12165](https://github.com/CocoaPods/CocoaPods/pull/12165)
|
|
99
|
+
|
|
100
|
+
* Support `visionos` in `pod lib lint --platforms=` and use `xros` for `Fourflusher`
|
|
101
|
+
[MagnificentMiles](https://github.com/MagnificentMiles)
|
|
102
|
+
[#12159](https://github.com/CocoaPods/CocoaPods/pull/12159)
|
|
103
|
+
|
|
7
104
|
## 1.14.3 (2023-11-19)
|
|
8
105
|
|
|
9
106
|
##### Enhancements
|
|
@@ -16,7 +113,6 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
|
|
|
16
113
|
[Eric Amorde](https://github.com/amorde)
|
|
17
114
|
[#12122](https://github.com/CocoaPods/CocoaPods/issues/12122)
|
|
18
115
|
|
|
19
|
-
|
|
20
116
|
## 1.14.2 (2023-10-27)
|
|
21
117
|
|
|
22
118
|
##### Enhancements
|
|
@@ -25,7 +25,7 @@ module Pod
|
|
|
25
25
|
['--use-static-frameworks', 'Lint uses static frameworks during installation'],
|
|
26
26
|
["--sources=#{Pod::TrunkSource::TRUNK_REPO_URL}", 'The sources from which to pull dependent pods ' \
|
|
27
27
|
"(defaults to #{Pod::TrunkSource::TRUNK_REPO_URL}). Multiple sources must be comma-delimited"],
|
|
28
|
-
['--platforms=ios,macos', 'Lint against specific platforms (defaults to all platforms supported by the ' \
|
|
28
|
+
['--platforms=ios,macos,visionos', 'Lint against specific platforms (defaults to all platforms supported by the ' \
|
|
29
29
|
'podspec). Multiple platforms must be comma-delimited'],
|
|
30
30
|
['--private', 'Lint skips checks that apply only to public specs'],
|
|
31
31
|
['--swift-version=VERSION', 'The `SWIFT_VERSION` that should be used to lint the spec. ' \
|
|
@@ -283,13 +283,16 @@ module Pod
|
|
|
283
283
|
specs_by_platform = group_subspecs_by_platform(spec)
|
|
284
284
|
destination.parent.mkpath
|
|
285
285
|
Cache.write_lock(destination) do
|
|
286
|
-
|
|
287
|
-
FileUtils.cp_r(source, destination)
|
|
286
|
+
rsync_contents(source, destination)
|
|
288
287
|
Pod::Installer::PodSourcePreparer.new(spec, destination).prepare!
|
|
289
288
|
Sandbox::PodDirCleaner.new(destination, specs_by_platform).clean!
|
|
290
289
|
end
|
|
291
290
|
end
|
|
292
291
|
|
|
292
|
+
def rsync_contents(source, destination)
|
|
293
|
+
Pod::Executable.execute_command('rsync', ['-a', '--exclude=.git', '--delete', "#{source}/", destination])
|
|
294
|
+
end
|
|
295
|
+
|
|
293
296
|
def group_subspecs_by_platform(spec)
|
|
294
297
|
specs_by_platform = {}
|
|
295
298
|
[spec, *spec.recursive_subspecs].each do |ss|
|
|
@@ -226,6 +226,11 @@ module Pod
|
|
|
226
226
|
|
|
227
227
|
settings['SWIFT_ACTIVE_COMPILATION_CONDITIONS'] = '$(inherited) '
|
|
228
228
|
|
|
229
|
+
# Added in Xcode 16. We manually generate our own Info.plist file so opt out.
|
|
230
|
+
settings['GENERATE_INFOPLIST_FILE'] = 'NO'
|
|
231
|
+
# Added in Xcode 16. For Swift-only Pods to be visible to Objective-C we to enable this.
|
|
232
|
+
settings['SWIFT_INSTALL_OBJC_HEADER'] = 'YES'
|
|
233
|
+
|
|
229
234
|
if target.swift_version
|
|
230
235
|
settings['SWIFT_VERSION'] = target.swift_version
|
|
231
236
|
end
|
|
@@ -245,7 +250,7 @@ module Pod
|
|
|
245
250
|
@plist_bundle_id = target.info_plist_entries['CFBundleIdentifier']
|
|
246
251
|
unless @plist_bundle_id.nil?
|
|
247
252
|
message = "The `#{target.name}` target " \
|
|
248
|
-
"sets a Bundle Identifier of `#{@plist_bundle_id}` in
|
|
253
|
+
"sets a Bundle Identifier of `#{@plist_bundle_id}` in its info.plist file. " \
|
|
249
254
|
'The Bundle Identifier should be set using pod_target_xcconfig: ' \
|
|
250
255
|
"s.pod_target_xcconfig = { 'PRODUCT_BUNDLE_IDENTIFIER': '#{@plist_bundle_id}' }`."
|
|
251
256
|
UI.warn message
|
|
@@ -1103,6 +1108,9 @@ module Pod
|
|
|
1103
1108
|
target.user_build_configurations.each do |bc_name, type|
|
|
1104
1109
|
native_target.add_build_configuration(bc_name, type)
|
|
1105
1110
|
end
|
|
1111
|
+
native_target.build_configurations.each do |configuration|
|
|
1112
|
+
configuration.build_settings['ENABLE_USER_SCRIPT_SANDBOXING'] = 'NO'
|
|
1113
|
+
end
|
|
1106
1114
|
unless target.archs.empty?
|
|
1107
1115
|
native_target.build_configurations.each do |configuration|
|
|
1108
1116
|
configuration.build_settings['ARCHS'] = target.archs
|
|
@@ -94,6 +94,12 @@ module Pod
|
|
|
94
94
|
settings.merge!('OTHER_LDFLAGS' => '', 'OTHER_LIBTOOLFLAGS' => '')
|
|
95
95
|
end
|
|
96
96
|
|
|
97
|
+
# This interferes with our custom run script phases
|
|
98
|
+
settings['ENABLE_USER_SCRIPT_SANDBOXING'] = 'NO'
|
|
99
|
+
|
|
100
|
+
# We aren't yet ready to support this for our targets
|
|
101
|
+
settings['ENABLE_MODULE_VERIFIER'] = 'NO'
|
|
102
|
+
|
|
97
103
|
settings
|
|
98
104
|
end
|
|
99
105
|
|
|
@@ -28,6 +28,7 @@ module Pod
|
|
|
28
28
|
OTHER_CFLAGS
|
|
29
29
|
OTHER_CPLUSPLUSFLAGS
|
|
30
30
|
OTHER_LDFLAGS
|
|
31
|
+
OTHER_MODULE_VERIFIER_FLAGS
|
|
31
32
|
OTHER_SWIFT_FLAGS
|
|
32
33
|
REZ_SEARCH_PATHS
|
|
33
34
|
SECTORDER_FLAGS
|
|
@@ -293,6 +294,11 @@ module Pod
|
|
|
293
294
|
module_map_files.map { |f| "-fmodule-map-file=#{f}" }
|
|
294
295
|
end
|
|
295
296
|
|
|
297
|
+
# @return [Array<String>]
|
|
298
|
+
define_build_settings_method :other_module_verifier_flags, :build_setting => true, :memoized => true do
|
|
299
|
+
[]
|
|
300
|
+
end
|
|
301
|
+
|
|
296
302
|
# @return [Array<String>]
|
|
297
303
|
define_build_settings_method :module_map_files do
|
|
298
304
|
[]
|
|
@@ -1233,6 +1239,13 @@ module Pod
|
|
|
1233
1239
|
flags
|
|
1234
1240
|
end
|
|
1235
1241
|
|
|
1242
|
+
# @return [Array<String>]
|
|
1243
|
+
define_build_settings_method :other_module_verifier_flags, :memoized => true do
|
|
1244
|
+
flags = super()
|
|
1245
|
+
flags += pod_targets.map { |pt| '-F' + pt.build_settings[@configuration].configuration_build_dir }
|
|
1246
|
+
flags
|
|
1247
|
+
end
|
|
1248
|
+
|
|
1236
1249
|
# @return [Array<String>]
|
|
1237
1250
|
define_build_settings_method :module_map_files, :memoized => true, :sorted => true, :uniqued => true, :compacted => true, :from_search_paths_aggregate_targets => :module_map_file_to_import do
|
|
1238
1251
|
pod_targets.map { |pt| pt.build_settings[@configuration].module_map_file_to_import }
|
data/lib/cocoapods/validator.rb
CHANGED
|
@@ -603,6 +603,8 @@ module Pod
|
|
|
603
603
|
# Ensure this is set generally but we have seen an issue with ODRs:
|
|
604
604
|
# see: https://github.com/CocoaPods/CocoaPods/issues/10933
|
|
605
605
|
config.build_settings['PRODUCT_BUNDLE_IDENTIFIER'] = 'org.cocoapods.${PRODUCT_NAME:rfc1034identifier}'
|
|
606
|
+
# Our run script phases require sandboxing to be disabled.
|
|
607
|
+
config.build_settings['ENABLE_USER_SCRIPT_SANDBOXING'] = 'NO'
|
|
606
608
|
end
|
|
607
609
|
app_project.save
|
|
608
610
|
app_project.recreate_user_schemes
|
|
@@ -1108,7 +1110,7 @@ module Pod
|
|
|
1108
1110
|
command += Fourflusher::SimControl.new.destination(:oldest, 'tvOS', deployment_target)
|
|
1109
1111
|
when :visionos
|
|
1110
1112
|
command += %w(CODE_SIGN_IDENTITY=- -sdk xrsimulator)
|
|
1111
|
-
command += Fourflusher::SimControl.new.destination(:oldest, '
|
|
1113
|
+
command += Fourflusher::SimControl.new.destination(:oldest, 'xrOS', deployment_target)
|
|
1112
1114
|
end
|
|
1113
1115
|
|
|
1114
1116
|
if analyze
|
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.
|
|
4
|
+
version: 1.16.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:
|
|
14
|
+
date: 2024-10-31 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.
|
|
22
|
+
version: 1.16.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.
|
|
29
|
+
version: 1.16.2
|
|
30
30
|
- !ruby/object:Gem::Dependency
|
|
31
31
|
name: claide
|
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -187,7 +187,7 @@ dependencies:
|
|
|
187
187
|
requirements:
|
|
188
188
|
- - ">="
|
|
189
189
|
- !ruby/object:Gem::Version
|
|
190
|
-
version: 1.
|
|
190
|
+
version: 1.27.0
|
|
191
191
|
- - "<"
|
|
192
192
|
- !ruby/object:Gem::Version
|
|
193
193
|
version: '2.0'
|
|
@@ -197,7 +197,7 @@ dependencies:
|
|
|
197
197
|
requirements:
|
|
198
198
|
- - ">="
|
|
199
199
|
- !ruby/object:Gem::Version
|
|
200
|
-
version: 1.
|
|
200
|
+
version: 1.27.0
|
|
201
201
|
- - "<"
|
|
202
202
|
- !ruby/object:Gem::Version
|
|
203
203
|
version: '2.0'
|
|
@@ -546,7 +546,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
546
546
|
- !ruby/object:Gem::Version
|
|
547
547
|
version: '0'
|
|
548
548
|
requirements: []
|
|
549
|
-
rubygems_version: 3.
|
|
549
|
+
rubygems_version: 3.5.22
|
|
550
550
|
signing_key:
|
|
551
551
|
specification_version: 4
|
|
552
552
|
summary: The Cocoa library package manager.
|