forked from jedisct1/swift-sodium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Sodium.podspec
38 lines (31 loc) · 1.28 KB
/
Sodium.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Requires CocoaPods 1.10.0
#
# WARNING: Apple Silicon is not supported when using Cocoapods.
# If you need to support Apple Silicon, use the Swift package instead.
Pod::Spec.new do |s|
s.name = "Sodium"
s.version = "0.9.0"
s.swift_version = "5.0"
s.license = { type: "ISC", file: "LICENSE" }
s.summary = "Swift-Sodium provides a safe and easy to use interface to perform common cryptographic operations on Apple platforms."
s.homepage = "https://github.com/jedisct1/swift-sodium"
s.social_media_url = "https://twitter.com/jedisct1"
s.authors = { "Frank Denis" => "" }
s.source = { git: "https://github.com/jedisct1/swift-sodium.git",
tag: "0.9.0" }
s.ios.deployment_target = "12.0"
s.osx.deployment_target = "10.11"
s.watchos.deployment_target = "5.0"
s.source_files = "Sodium/**/*.{swift,h}"
s.private_header_files = "Sodium/libsodium/*.h"
s.pod_target_xcconfig = {
"SWIFT_INCLUDE_PATHS" => '$(inherited) "${PODS_XCFRAMEWORKS_BUILD_DIR}/Clibsodium"',
"EXCLUDED_ARCHS[sdk=*simulator*]" => "arm64",
}
s.user_target_xcconfig = {
"SWIFT_INCLUDE_PATHS" => '$(inherited) "${PODS_XCFRAMEWORKS_BUILD_DIR}/Clibsodium"',
"EXCLUDED_ARCHS[sdk=*simulator*]" => "arm64",
}
s.requires_arc = true
s.vendored_frameworks = "Clibsodium.xcframework"
end