-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdreiKit.podspec
38 lines (37 loc) · 1.24 KB
/
dreiKit.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
Pod::Spec.new do |s|
s.name = "dreiKit"
s.version = "1.2.0"
s.summary = "A short description of dreiKit."
s.homepage = "https://github.com/dreipol/dreiKit"
s.license = { type: 'MIT', file: 'LICENSE' }
s.author = { "dreipol GmbH" => "[email protected]" }
s.source = { git: "https://github.com/dreipol/dreiKit.git", tag: s.version.to_s }
s.social_media_url = 'https://twitter.com/dreipol'
s.ios.deployment_target = '15.0'
s.requires_arc = true
s.preserve_path = '.swiftlint.yml'
s.swift_version = '5.6'
s.ios.frameworks = 'UIKit', 'Foundation'
s.ios.source_files = 'Sources/dreiKit/**/*.{swift}'
s.info_plist = {
'CFBundleIdentifier' => 'ch.dreipol.dreikit'
}
s.pod_target_xcconfig = {
'PRODUCT_BUNDLE_IDENTIFIER': 'ch.dreipol.dreikit'
}
s.script_phases = [
{
:name => 'Swiftlint',
:execution_position => :before_compile,
:shell_path => '/bin/sh',
:script => <<-SCRIPT
cd "$PODS_TARGET_SRCROOT/"
if which swiftlint >/dev/null; then
swiftlint
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi
SCRIPT
}
]
end