cocoapods 1.10.0.rc.1 → 1.10.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 +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/cocoapods/gem_version.rb +1 -1
- data/lib/cocoapods/generator/copy_xcframework_script.rb +3 -12
- data/lib/cocoapods/installer/xcode/pods_project_generator/app_host_installer.rb +5 -1
- data/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb +5 -1
- data/lib/cocoapods/target/build_settings.rb +11 -2
- 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: 18029602b0c6762ae9758040ac419c6f06d349a572369fa9bf0345cf765d08a1
|
4
|
+
data.tar.gz: c7eb15f452ae34c5478ddb4e64a75bd3e61d2b0a607503dc9cafafd4e563d915
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7be0a083dac27cc3267cd3d671b83dad1a897c6ef0cdb09bfa61cdfb6f791ac6ea5de13bbf674df3781221901b63fe2c97f1bbd6b8d378fad594c083eeec83a5
|
7
|
+
data.tar.gz: 859cb8e68cf8918c7d99066aa49589a3b3bcfc47944b3154876328724dc5b854e5accc518092275a0b130996d1428c09d9f12b4e29a22b7f9628d4c11a0c315e
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,22 @@ 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.10.0 (2020-10-20)
|
8
|
+
|
9
|
+
##### Enhancements
|
10
|
+
|
11
|
+
* None.
|
12
|
+
|
13
|
+
##### Bug Fixes
|
14
|
+
|
15
|
+
* Generate the correct LD `-l` flags for XCFrameworks containing libraries
|
16
|
+
[Wes Campaigne](https://github.com/Westacular)
|
17
|
+
[#10071](https://github.com/CocoaPods/CocoaPods/issues/10071)
|
18
|
+
|
19
|
+
* Add support for automatically embeddeding XCFramework debug symbols for XCFrameworks generated with Xcode 12
|
20
|
+
[johntmcintosh](https://github.com/johntmcintosh)
|
21
|
+
[#10111](https://github.com/CocoaPods/CocoaPods/issues/10111)
|
22
|
+
|
7
23
|
## 1.10.0.rc.1 (2020-09-15)
|
8
24
|
|
9
25
|
##### Enhancements
|
@@ -194,12 +194,8 @@ install_xcframework() {
|
|
194
194
|
mkdir -p "$destination"
|
195
195
|
fi
|
196
196
|
|
197
|
-
|
198
|
-
|
199
|
-
copy_dir "$source/" "$destination"
|
200
|
-
elif [[ "$package_type" == "framework" ]]; then
|
201
|
-
copy_dir "$source" "$destination"
|
202
|
-
fi
|
197
|
+
copy_dir "$source/" "$destination"
|
198
|
+
|
203
199
|
echo "Copied $source to $destination"
|
204
200
|
}
|
205
201
|
|
@@ -226,12 +222,7 @@ install_xcframework() {
|
|
226
222
|
is_framework = xcframework.build_type.framework?
|
227
223
|
args << shell_escape(is_framework ? 'framework' : 'library')
|
228
224
|
slices.each do |slice|
|
229
|
-
args <<
|
230
|
-
shell_escape(slice.path.relative_path_from(root))
|
231
|
-
else
|
232
|
-
# We don't want the path to the library binary, we want the dir that contains it
|
233
|
-
shell_escape(slice.path.dirname.relative_path_from(root))
|
234
|
-
end
|
225
|
+
args << shell_escape(slice.path.dirname.relative_path_from(root))
|
235
226
|
end
|
236
227
|
args.join(' ')
|
237
228
|
end
|
@@ -79,7 +79,11 @@ module Pod
|
|
79
79
|
app_host_target.build_configurations.each do |configuration|
|
80
80
|
configuration.build_settings['PRODUCT_NAME'] = app_target_label
|
81
81
|
configuration.build_settings['PRODUCT_BUNDLE_IDENTIFIER'] = 'org.cocoapods.${PRODUCT_NAME:rfc1034identifier}'
|
82
|
-
|
82
|
+
if platform == :osx
|
83
|
+
configuration.build_settings['CODE_SIGN_IDENTITY'] = ''
|
84
|
+
elsif platform == :ios
|
85
|
+
configuration.build_settings['CODE_SIGN_IDENTITY'] = 'iPhone Developer'
|
86
|
+
end
|
83
87
|
configuration.build_settings['CURRENT_PROJECT_VERSION'] = '1'
|
84
88
|
end
|
85
89
|
|
@@ -408,7 +408,11 @@ module Pod
|
|
408
408
|
configuration.build_settings['CODE_SIGNING_ALLOWED'] = 'YES'
|
409
409
|
end
|
410
410
|
# For macOS we do not code sign the XCTest bundle because we do not code sign the frameworks either.
|
411
|
-
|
411
|
+
if target.platform == :osx
|
412
|
+
configuration.build_settings['CODE_SIGN_IDENTITY'] = ''
|
413
|
+
elsif target.platform == :ios
|
414
|
+
configuration.build_settings['CODE_SIGN_IDENTITY'] = 'iPhone Developer'
|
415
|
+
end
|
412
416
|
end
|
413
417
|
|
414
418
|
remove_pod_target_xcconfig_overrides_from_target(target.test_spec_build_settings_by_config[test_spec.name], test_native_target)
|
@@ -755,7 +755,7 @@ module Pod
|
|
755
755
|
libraries.concat libraries_to_import
|
756
756
|
xcframework_libraries = vendored_xcframeworks.
|
757
757
|
select { |xcf| xcf.build_type.static_library? }.
|
758
|
-
|
758
|
+
flat_map { |xcf| linker_names_from_libraries([xcf.slices.first.binary_path]) }.
|
759
759
|
uniq
|
760
760
|
libraries.concat xcframework_libraries
|
761
761
|
end
|
@@ -871,7 +871,16 @@ module Pod
|
|
871
871
|
|
872
872
|
# @return [Array<String>]
|
873
873
|
define_build_settings_method :header_search_paths, :build_setting => true, :memoized => true, :sorted => true do
|
874
|
-
target.header_search_paths(:include_dependent_targets_for_test_spec => test_xcconfig? && non_library_spec, :include_dependent_targets_for_app_spec => app_xcconfig? && non_library_spec, :configuration => @configuration)
|
874
|
+
paths = target.header_search_paths(:include_dependent_targets_for_test_spec => test_xcconfig? && non_library_spec, :include_dependent_targets_for_app_spec => app_xcconfig? && non_library_spec, :configuration => @configuration)
|
875
|
+
|
876
|
+
dependent_vendored_xcframeworks = []
|
877
|
+
dependent_vendored_xcframeworks.concat vendored_xcframeworks
|
878
|
+
dependent_vendored_xcframeworks.concat dependent_targets.flat_map { |pt| pt.build_settings[@configuration].vendored_xcframeworks }
|
879
|
+
paths.concat dependent_vendored_xcframeworks.
|
880
|
+
select { |xcf| xcf.build_type.static_library? }.
|
881
|
+
map { |xcf| "#{BuildSettings.xcframework_intermediate_dir(xcf)}/Headers" }.
|
882
|
+
compact
|
883
|
+
paths
|
875
884
|
end
|
876
885
|
|
877
886
|
# @return [Array<String>]
|
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.10.0
|
4
|
+
version: 1.10.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: 2020-
|
14
|
+
date: 2020-10-20 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.10.0
|
22
|
+
version: 1.10.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.10.0
|
29
|
+
version: 1.10.0
|
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.19.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.19.0
|
201
201
|
- - "<"
|
202
202
|
- !ruby/object:Gem::Version
|
203
203
|
version: '2.0'
|
@@ -538,7 +538,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
538
538
|
- !ruby/object:Gem::Version
|
539
539
|
version: '0'
|
540
540
|
requirements: []
|
541
|
-
rubygems_version: 3.0.
|
541
|
+
rubygems_version: 3.0.3
|
542
542
|
signing_key:
|
543
543
|
specification_version: 3
|
544
544
|
summary: The Cocoa library package manager.
|