-
Notifications
You must be signed in to change notification settings - Fork 6
/
SweetHMAC.podspec
30 lines (25 loc) · 1.31 KB
/
SweetHMAC.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
projectName = "SweetHMAC"
Pod::Spec.new do |spec|
spec.name = "#{projectName}"
spec.version = "3.0"
spec.license = "MIT"
spec.summary = "A tiny and easy to use Swift class to encrypt strings using HMAC algorithms."
spec.homepage = "https://github.com/jancassio/#{projectName}"
spec.social_media_url = "http://www.twitter.com/jancassio/"
spec.authors = { "Jan Cassio" => "[email protected]" }
spec.source = { :git => "https://github.com/jancassio/SweetHMAC.git", :tag => spec.version }
spec.requires_arc = true
spec.ios.deployment_target = "9.0"
spec.osx.deployment_target = "10.11"
spec.source_files = "#{projectName}/Source"
spec.module_name = "#{projectName}"
spec.libraries = 'CommonCrypto'
# spec.prepare_command = "sh setup.sh"
spec.preserve_paths = "#{projectName}/CommonCrypto/*"
spec.pod_target_xcconfig = {
"HEADER_SEARCH_PATHS" => "$(PODS_ROOT)/#{projectName}/module",
"SWIFT_INCLUDE_PATHS[sdk=macosx*]" => "$(SRCROOT)/#{projectName}/CommonCrypto/module",
"SWIFT_INCLUDE_PATHS[sdk=iphoneos*]" => "$(SRCROOT)/#{projectName}/CommonCrypto/module",
"SWIFT_INCLUDE_PATHS[sdk=iphonesimulator*]" => "$(SRCROOT)/#{projectName}/CommonCrypto/module",
}
end