forked from Quick/Quick
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Quick.podspec
48 lines (40 loc) · 1.52 KB
/
Quick.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
48
Pod::Spec.new do |s|
s.name = "Quick"
s.version = "2.2.0"
s.summary = "The Swift (and Objective-C) testing framework."
s.description = <<-DESC
Quick is a behavior-driven development framework for Swift and Objective-C. Inspired by RSpec, Specta, and Ginkgo.
DESC
s.homepage = "https://github.com/Quick/Quick"
s.license = { :type => "Apache 2.0", :file => "LICENSE" }
s.author = "Quick Contributors"
s.ios.deployment_target = "7.0"
s.osx.deployment_target = "10.10"
s.tvos.deployment_target = '9.0'
s.source = { :git => "https://github.com/Quick/Quick.git", :tag => "v#{s.version}" }
s.source_files = "Sources/**/*.{swift,h,m}"
s.public_header_files = [
'Sources/QuickObjectiveC/Configuration/QuickConfiguration.h',
'Sources/QuickObjectiveC/DSL/QCKDSL.h',
'Sources/QuickObjectiveC/Quick.h',
'Sources/QuickObjectiveC/QuickSpec.h',
]
s.exclude_files = [
'Sources/Quick/QuickSpec.swift',
'Sources/Quick/QuickMain.swift',
]
s.framework = "XCTest"
s.requires_arc = true
s.user_target_xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '$(PLATFORM_DIR)/Developer/Library/Frameworks' }
s.pod_target_xcconfig = {
'APPLICATION_EXTENSION_API_ONLY' => 'YES',
'ENABLE_BITCODE' => 'NO',
'OTHER_LDFLAGS' => '$(inherited) -Xlinker -no_application_extension',
}
s.cocoapods_version = '>= 1.4.0'
if s.respond_to?(:swift_versions) then
s.swift_versions = ['4.2', '5.0']
else
s.swift_version = '4.2'
end
end