cocoapods 1.15.2 → 1.16.1
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 +37 -0
- 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 +8 -0
- 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 +2 -0
- 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: cb3cc8ec80d14ba383719c703ccfd861ce31a684f113452ec3403245a6455b96
|
4
|
+
data.tar.gz: 1f6276cf9cf207d2521832a9612173ca503dfaff54af9240bf19093fcf8e6b54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecab8584c86ee357e2b0edcb42d9168745190d4a609f3fce30f7aa5670b7b6df630b901c3baecd00ad246aefd9ea8c20cfb4e97116e19ea543c4e171d72f59e3
|
7
|
+
data.tar.gz: 1a9c312df1803208e879273fdd18b343738aafa8928ddf0588a14bfaf3dd969b67ff56ed0b8bbfa6290c3af7598b4828ab8faf71f11b1f51a80fe7da66dd5722
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,43 @@ 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.1 (2024-10-29)
|
8
|
+
|
9
|
+
##### Enhancements
|
10
|
+
|
11
|
+
* None.
|
12
|
+
|
13
|
+
##### Bug Fixes
|
14
|
+
|
15
|
+
* Fix an issue breaking `pod lib lint` / `pod spec lint` due to new `ENABLE_USER_SCRIPT_SANDBOXING` setting.
|
16
|
+
[Eric Amorde](https://github.com/amorde)
|
17
|
+
[#12664](https://github.com/CocoaPods/CocoaPods/issues/12664)
|
18
|
+
|
19
|
+
|
20
|
+
## 1.16.0 (2024-10-29)
|
21
|
+
|
22
|
+
##### Enhancements
|
23
|
+
|
24
|
+
* Add Support for Xcode 14.3's ENABLE_MODULE_VERIFIER.
|
25
|
+
[sharplet](https://github.com/sharplet)
|
26
|
+
[#12390](https://github.com/CocoaPods/CocoaPods/pull/12390)
|
27
|
+
|
28
|
+
* Xcode 16 support.
|
29
|
+
* Bump minimum `xcodeproj` to `1.26.0`
|
30
|
+
* Update project generator to set `GENERATE_INFOPLIST_FILE = NO` on pod targets
|
31
|
+
* Update project generator to set `ENABLE_USER_SCRIPT_SANDBOXING = NO` = NO` on pod targets to fix build failures with vendored frameworks.
|
32
|
+
* Update project geneerator to set `SWIFT_INSTALL_OBJC_HEADER = YES` on pod targets to enable consuming Swift pods from Objective-C.
|
33
|
+
|
34
|
+
[Eric Amorde](https://github.com/amorde)
|
35
|
+
[#12656](https://github.com/CocoaPods/CocoaPods/pull/12656)
|
36
|
+
|
37
|
+
##### Bug Fixes
|
38
|
+
|
39
|
+
* Fix pod install issue when git's `core.fsmonitor` feature is enabled (again)
|
40
|
+
[Justin Martin](https://github.com/justinseanmartin)
|
41
|
+
[#12349](https://github.com/CocoaPods/CocoaPods/issues/12349)
|
42
|
+
|
43
|
+
|
7
44
|
## 1.15.2 (2024-02-06)
|
8
45
|
|
9
46
|
##### Enhancements
|
@@ -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
|
@@ -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
|
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.1
|
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: 2024-
|
14
|
+
date: 2024-10-29 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.1
|
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.1
|
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.26.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.26.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.
|