Omit ARM64 simulator until migration to XCFrameworks

Can't lipo arm64 slices for different platforms (iPhoneOS and
iPhoneSimulator).
This commit is contained in:
Davide De Rosa 2020-11-12 20:13:57 +01:00
parent 2f6f4f5d57
commit dfbf5a0564
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
openssl_version = "1.1.1h"
openssl_targets = "ios-sim-cross-x86_64 ios-sim-cross-arm64 ios64-cross-arm64 ios64-cross-arm64e macos64-x86_64 macos64-arm64 mac-catalyst-arm64"
openssl_targets = "ios-sim-cross-x86_64 ios64-cross-arm64 ios64-cross-arm64e macos64-x86_64 macos64-arm64 mac-catalyst-arm64"
script_version = "6"
s.name = "OpenSSL-Apple"
@ -19,6 +19,8 @@ Pod::Spec.new do |s|
s.ios.deployment_target = "12.0"
s.ios.vendored_frameworks = "frameworks/iPhone/openssl.framework"
s.ios.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.ios.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.osx.deployment_target = "10.15"
s.osx.vendored_frameworks = "frameworks/MacOSX/openssl.framework"
s.requires_arc = false

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
openssl_version = "%OPENSSL-VERSION%"
openssl_targets = "ios-sim-cross-x86_64 ios-sim-cross-arm64 ios64-cross-arm64 ios64-cross-arm64e macos64-x86_64 macos64-arm64 mac-catalyst-arm64"
openssl_targets = "ios-sim-cross-x86_64 ios64-cross-arm64 ios64-cross-arm64e macos64-x86_64 macos64-arm64 mac-catalyst-arm64"
script_version = "6"
s.name = "OpenSSL-Apple"
@ -19,6 +19,8 @@ Pod::Spec.new do |s|
s.ios.deployment_target = "12.0"
s.ios.vendored_frameworks = "frameworks/iPhone/openssl.framework"
s.ios.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.ios.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
s.osx.deployment_target = "10.15"
s.osx.vendored_frameworks = "frameworks/MacOSX/openssl.framework"
s.requires_arc = false