-
Notifications
You must be signed in to change notification settings - Fork 19
/
SwiftCurrent.podspec
57 lines (50 loc) · 2.39 KB
/
SwiftCurrent.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
49
50
51
52
53
54
55
56
57
Pod::Spec.new do |s|
s.name = 'SwiftCurrent'
s.version = '5.1.12'
s.summary = 'A library for complex workflows in Swift'
s.description = <<-DESC
SwiftCurrent is a library that lets you easily manage journeys through your Swift application.
DESC
s.homepage = 'https://github.com/wwt/SwiftCurrent'
s.license = { :type => 'Custom', :file => 'LICENSE' }
s.author = { 'World Wide Technology, Inc.' => '[email protected]' }
s.source = { :git => 'https://github.com/wwt/SwiftCurrent.git', :tag => s.version.to_s }
s.ios.deployment_target = '11.0'
s.tvos.deployment_target = '14.0'
s.swift_version = '5.1'
s.module_name = 'SwiftCurrent'
s.subspec 'Core' do |ss|
ss.ios.deployment_target = '11.0'
ss.macos.deployment_target = '11.0'
ss.tvos.deployment_target = '14.0'
# ss.watchos.deployment_target = '7.0' # CocoaPods issue: https://github.com/CocoaPods/CocoaPods/issues/11558#issuecomment-1284573492
ss.source_files = 'Sources/SwiftCurrent/**/*.{swift,h,m}'
end
s.subspec 'UIKit' do |ss|
ss.ios.deployment_target = '11.0'
ss.tvos.deployment_target = '14.0'
ss.source_files = 'Sources/SwiftCurrent_UIKit/**/*.{swift,h,m}'
ss.dependency 'SwiftCurrent/Core'
end
s.subspec 'SwiftUI' do |ss|
ss.ios.deployment_target = '11.0'
ss.macos.deployment_target = '11.0'
ss.tvos.deployment_target = '14.0'
# ss.watchos.deployment_target = '7.0' # CocoaPods issue: https://github.com/CocoaPods/CocoaPods/issues/11558#issuecomment-1284573492
ss.source_files = 'Sources/SwiftCurrent_SwiftUI/**/*.{swift,h,m}'
ss.dependency 'SwiftCurrent/Core'
end
s.subspec 'Testing' do |ss|
ss.ios.deployment_target = '11.0'
ss.macos.deployment_target = '11.0'
ss.tvos.deployment_target = '14.0'
# ss.watchos.deployment_target = '7.0' # Xcode 12.4 is unable to lib lint this. When the pipeline is moved to 12.5 we can comment this back in.
ss.source_files = ['Sources/SwiftCurrent_Testing/**/*.{swift,h,m}', 'Sources/SwiftCurrent_Testing_ObjC/**/*.{swift,h,m}']
ss.exclude_files = 'Sources/SwiftCurrent_Testing_ObjC/*-Bridging-Header.h'
ss.dependency 'SwiftCurrent/Core'
ss.weak_framework = "XCTest"
ss.pod_target_xcconfig = {
'FRAMEWORK_SEARCH_PATHS' => '$(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks"',
}
end
end