-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
115 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "openssl-iosx" | ||
s.version = "3.2.1.0" | ||
s.summary = "OpenSSL" | ||
s.version = "3.2.1.1" | ||
s.summary = "OpenSSL libraries for macOS, iOS, and visionOS, including both arm64 and x86_64 builds for macOS, Mac Catalyst, iOS Simulator, and visionOS Simulator." | ||
s.homepage = "https://github.com/apotocki/openssl-iosx" | ||
s.license = "Apache" | ||
s.author = { "Alexander Pototskiy" => "[email protected]" } | ||
s.social_media_url = "https://www.linkedin.com/in/alexander-pototskiy" | ||
s.osx.deployment_target = "11.0" | ||
s.ios.deployment_target = "13.4" | ||
s.visionos.deployment_target = "1.0" | ||
s.osx.pod_target_xcconfig = { 'ONLY_ACTIVE_ARCH' => 'YES' } | ||
s.ios.pod_target_xcconfig = { 'ONLY_ACTIVE_ARCH' => 'YES' } | ||
s.visionos.pod_target_xcconfig = { 'ONLY_ACTIVE_ARCH' => 'YES' } | ||
s.static_framework = true | ||
s.prepare_command = "sh scripts/build.sh" | ||
s.source = { :git => "https://github.com/apotocki/openssl-iosx.git", :tag => "#{s.version}" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@@ -34,6 +34,24 @@ | ||
inherit_from => [ "ios-common" ], | ||
CC => "xcrun -sdk iphonesimulator cc", | ||
}, | ||
+ "xros-common" => { | ||
+ template => 1, | ||
+ inherit_from => [ "darwin-common" ], | ||
+ sys_id => "visionOS", | ||
+ disable => [ "shared", "async" ], | ||
+ }, | ||
+ "xros-xcrun" => { | ||
+ inherit_from => [ "xros-common" ], | ||
+ CC => "xcrun -sdk xros cc", | ||
+ cflags => add("-arch arm64 -fno-common"), | ||
+ bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR", | ||
+ asm_arch => 'aarch64', | ||
+ perlasm_scheme => "ios64", | ||
+ }, | ||
+ "xrossimulator-xcrun" => { | ||
+ inherit_from => [ "xros-common" ], | ||
+ CC => "xcrun -sdk xrsimulator cc", | ||
+ }, | ||
# It takes three prior-set environment variables to make it work: | ||
# | ||
# CROSS_COMPILE=/where/toolchain/is/usr/bin/ [note ending slash] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters