-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCC.podspec
29 lines (25 loc) · 887 Bytes
/
CC.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
Pod::Spec.new do |s|
s.name = 'CC'
s.version = '0.0.1'
s.license = { :type => 'MIT' }
s.homepage = 'https://github.com/madordie/CommonCryptoForPodspec'
s.author = { 'sunjigang' => '[email protected]' }
s.summary = 'CC'
s.platform = :ios, '7.0'
s.source = { :git => 'https://github.com/madordie/CommonCryptoForPodspec.git' }
s.framework = 'UIKit'
s.requires_arc = true
s.source_files = 'podspec/*.swift'
s.pod_target_xcconfig = { 'SWIFT_INCLUDE_PATHS' => '$(PODS_ROOT)/CommonCrypto/' }
s.prepare_command = <<-EOF
if [ ! -d ./Pods/CommonCrypto ]; then
mkdir -p ./Pods/CommonCrypto
cat <<-EOF > ./Pods/CommonCrypto/module.modulemap
module CommonCrypto [system] {
header "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/CommonCrypto/CommonCrypto.h"
export *
}
\EOF
fi
EOF
end