forked from allending/Kiwi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKiwi.podspec
45 lines (39 loc) · 1.67 KB
/
Kiwi.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
Pod::Spec.new do |s|
s.name = 'Kiwi'
s.version = '2.2.4'
s.summary = 'A Behavior Driven Development library for iOS and OS X.'
s.homepage = 'https://github.com/allending/Kiwi'
s.authors = { 'Allen Ding' => '[email protected]', 'Luke Redpath' => '[email protected]', 'Marin Usalj' => '[email protected]', 'Stepan Hruda' => '[email protected]' }
s.license = { :type => 'MIT', :file => 'License.txt' }
s.source = { :git => 'https://github.com/allending/Kiwi.git', :tag => s.version.to_s }
s.ios.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '$(inherited) "$(SDKROOT)/Developer/Library/Frameworks" "$(DEVELOPER_LIBRARY_DIR)/Frameworks"' }
s.osx.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '$(inherited) "$(DEVELOPER_LIBRARY_DIR)/Frameworks"' }
s.ios.deployment_target = '5.0'
s.osx.deployment_target = '10.7'
s.default_subspec = 'SenTestingKit'
s.subspec 'SenTestingKit' do |sentest|
sentest.framework = 'SenTestingKit'
sentest.dependency 'Kiwi/ARC'
sentest.dependency 'Kiwi/NonARC'
sentest.source_files = 'SenTestingKit/**/*.{h,m}'
sentest.prefix_header_contents = <<-EOS
#import <SenTestingKit/SenTestingKit.h>
EOS
end
s.subspec 'XCTest' do |xctest|
xctest.framework = 'XCTest'
xctest.dependency 'Kiwi/ARC'
xctest.dependency 'Kiwi/NonARC'
xctest.prefix_header_contents = <<-EOS
#import <XCTest/XCTest.h>
EOS
end
s.subspec 'ARC' do |arc|
arc.source_files = 'Classes/**/*.{h,m}'
arc.requires_arc = true
end
s.subspec 'NonARC' do |nonarc|
nonarc.source_files = 'NonARC/**/*.{h,m}'
nonarc.compiler_flags = '-fno-objc-arc'
end
end