forked from jedisct1/swift-sodium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable Apple Silicon support for Cocoapods
- Loading branch information
Showing
1 changed file
with
28 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,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.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.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.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"' | ||
} | ||
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"' | ||
} | ||
s.user_target_xcconfig = { | ||
"SWIFT_INCLUDE_PATHS" => '$(inherited) "${PODS_XCFRAMEWORKS_BUILD_DIR}/Clibsodium"', | ||
"EXCLUDED_ARCHS[sdk=*simulator*]" => "arm64", | ||
} | ||
|
||
s.requires_arc = true | ||
s.requires_arc = true | ||
|
||
s.vendored_frameworks = 'Clibsodium.xcframework' | ||
s.vendored_frameworks = "Clibsodium.xcframework" | ||
end |