forked from mattrubin/OneTimePassword
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathOneTimePassword.podspec
More file actions
31 lines (31 loc) · 1.87 KB
/
OneTimePassword.podspec
File metadata and controls
31 lines (31 loc) · 1.87 KB
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
Pod::Spec.new do |s|
s.name = "OneTimePassword"
s.version = "3.1.5"
s.summary = "A small library for generating TOTP and HOTP one-time passwords."
s.homepage = "https://github.com/mattrubin/OneTimePassword"
s.license = "MIT"
s.author = "Matt Rubin"
s.swift_version = "4.0"
s.ios.deployment_target = "8.0"
s.watchos.deployment_target = "2.0"
s.source = { :git => "https://github.com/mattrubin/OneTimePassword.git", :tag => s.version }
s.source_files = "Sources/*.{swift}"
s.requires_arc = true
s.dependency "Base32", "~> 1.1.2"
s.pod_target_xcconfig = {
"SWIFT_INCLUDE_PATHS[sdk=appletvos*]" => "$(SRCROOT)/OneTimePassword/CommonCrypto/appletvos",
"SWIFT_INCLUDE_PATHS[sdk=appletvsimulator*]" => "$(SRCROOT)/OneTimePassword/CommonCrypto/appletvsimulator",
"SWIFT_INCLUDE_PATHS[sdk=iphoneos*]" => "$(SRCROOT)/OneTimePassword/CommonCrypto/iphoneos",
"SWIFT_INCLUDE_PATHS[sdk=iphonesimulator*]" => "$(SRCROOT)/OneTimePassword/CommonCrypto/iphonesimulator",
"SWIFT_INCLUDE_PATHS[sdk=macosx*]" => "$(SRCROOT)/OneTimePassword/CommonCrypto/macosx",
"SWIFT_INCLUDE_PATHS[sdk=watchos*]" => "$(SRCROOT)/OneTimePassword/CommonCrypto/watchos",
"SWIFT_INCLUDE_PATHS[sdk=watchsimulator*]" => "$(SRCROOT)/OneTimePassword/CommonCrypto/watchsimulator",
}
s.preserve_paths = "CommonCrypto/*"
# The prepare_command "will be executed after the Pod is downloaded."
# The script is *not* run on every build, or even on every `pod install`, so if the selected
# Xcode path changes after the pod is downloaded, you may need to clear the pod from the cache at
# ~/Library/Caches/CocoaPods so the script can update the modulemaps with the new path.
# https://guides.cocoapods.org/syntax/podspec.html#prepare_command
s.prepare_command = "CommonCrypto/injectXcodePath.sh"
end