This repository was archived by the owner on Jan 23, 2025. It is now read-only.
forked from cbaker6/CertificateSigningRequest
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathiOSCSRSwift.podspec
47 lines (34 loc) · 1.81 KB
/
iOSCSRSwift.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
39
40
41
42
43
44
45
46
47
Pod::Spec.new do |s|
s.name = "iOSCSRSwift"
s.version = "0.0.992"
s.summary = "Generate a certificate signing request (CSR) in iOS using Swift"
s.description = <<-DESC
CertificateSigningRequest lets you enables you to generate a CSR directly on an iOS device
DESC
s.homepage = "https://github.com/cbaker6/iOSCSRSwift"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Corey Baker" => "[email protected]" }
s.platform = :ios, "10.0"
s.source = { :git => "https://github.com/cbaker6/iOSCSRSwift.git", :tag => "#{s.version}" }
s.source_files = "iOS-csr-swift", "iOSCSRSwift/**/*.{h,m,swift}", "CommonCrypto/**/*.{c,h}"
#s.exclude_files = "iOS-csr-swift/Exclude"
# s.public_header_files = "Classes/**/*.h"
s.private_header_files = "CommonCrypto/**/*.{c,h}"
# s.pod_target_xcconfig = { 'SWIFT_VERSION' => '3', 'SWIFT_INCLUDE_PATHS' => 'CommonCrypto/Platforms/**' }
s.pod_target_xcconfig = {
'SWIFT_VERSION' => '3',
'SWIFT_INCLUDE_PATHS[sdk=iphoneos*]' => 'CommonCrypto/Platforms/iPhoneOS/**',
'SWIFT_INCLUDE_PATHS[sdk=iphonesimulator*]' => 'CommonCrypto/Platforms/iPhoneSimulator/**',
'SWIFT_INCLUDE_PATHS[sdk=macosx*]' => 'CommonCrypto/Platforms/MacOSX/**'
}
# s.resource = "icon.png"
# s.resources = "Resources/*.png"
# s.preserve_paths = "FilesToSave", "MoreFilesToSave"
s.preserve_paths = "CommonCrypto/iphoneos.private.modulemap", "CommonCrypto/iphonesimulator.private.modulemap", "CommonCrypto/macos.private.modulemap"
# s.framework = "SomeFramework"
# s.frameworks = "SomeFramework", "AnotherFramework"
# s.library = "iconv"
# s.libraries = "iconv", "xml2"
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
# s.dependency "JSONKit", "~> 1.4"
end