Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modifications to work with visionOS #40

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>CryptorECC.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
</dict>
</plist>
2 changes: 1 addition & 1 deletion [email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import PackageDescription

var targetDependencies: [Target.Dependency] = []

#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
#if !os(Linux)

let CryptoLibUrl = "https://github.com/Kitura/CommonCrypto.git"
let CryptoLibVersion: Package.Dependency.Requirement = .upToNextMajor(from: "1.0.200")
Expand Down
2 changes: 1 addition & 1 deletion [email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import PackageDescription

var targetDependencies: [Target.Dependency] = []

#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
#if !os(Linux)

let CryptoLibUrl = "https://github.com/Kitura/CommonCrypto.git"
let CryptoLibVersion: Package.Dependency.Requirement = .upToNextMajor(from: "1.0.200")
Expand Down
2 changes: 1 addition & 1 deletion Sources/CryptorECC/ECDecryptable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

import Foundation

#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
#if !os(Linux)
import CommonCrypto
#elseif os(Linux)
import OpenSSL
Expand Down
2 changes: 1 addition & 1 deletion Sources/CryptorECC/ECEncryptable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

import Foundation

#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
#if !os(Linux)
import CommonCrypto
#elseif os(Linux)
import OpenSSL
Expand Down
2 changes: 1 addition & 1 deletion Sources/CryptorECC/ECPrivateKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.
//
import Foundation
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
#if !os(Linux)
import CommonCrypto
#elseif os(Linux)
import OpenSSL
Expand Down
2 changes: 1 addition & 1 deletion Sources/CryptorECC/ECPublicKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
//

import Foundation
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
#if !os(Linux)
import CommonCrypto
#elseif os(Linux)
import OpenSSL
Expand Down
2 changes: 1 addition & 1 deletion Sources/CryptorECC/ECSignable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

import Foundation

#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
#if !os(Linux)
import CommonCrypto
#elseif os(Linux)
import OpenSSL
Expand Down
2 changes: 1 addition & 1 deletion Sources/CryptorECC/ECSignature.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

import Foundation

#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
#if !os(Linux)
import CommonCrypto
#elseif os(Linux)
import OpenSSL
Expand Down
2 changes: 1 addition & 1 deletion Sources/CryptorECC/EllipticCurve.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

import Foundation

#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
#if !os(Linux)
import CommonCrypto
#elseif os(Linux)
import OpenSSL
Expand Down