-
Notifications
You must be signed in to change notification settings - Fork 1
/
Podfile
119 lines (100 loc) · 2.26 KB
/
Podfile
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
use_frameworks!
workspace 'Subtitle.xcworkspace'
def ios_version() platform :ios, '10.0' end
def watchos_version() platform :watchos, '5.2' end
def tvos_version() platform :tvos, '10.0' end
def macos_version() platform :macos, '10.10' end
def libraries_project() project 'SubtitleLibraries.xcodeproj' end
def apps_project() project 'SubtitleApp.xcodeproj' end
def rxswift() pod 'RxSwift', '5.0.0', :inhibit_warnings => true end
def gzip() pod 'GzipSwift', '5.0.0', :inhibit_warnings => true end
target 'Common iOS' do
libraries_project
ios_version
end
target 'Common macOS' do
libraries_project
macos_version
end
target 'Common tvOS' do
libraries_project
tvos_version
end
target 'Common watchOS' do
libraries_project
watchos_version
end
target 'OpenSubtitlesDownloader iOS' do
libraries_project
ios_version
rxswift
end
target 'OpenSubtitlesDownloader macOS' do
libraries_project
macos_version
rxswift
end
target 'OpenSubtitlesDownloader tvOS' do
libraries_project
tvos_version
rxswift
end
target 'OpenSubtitlesDownloader watchOS' do
libraries_project
watchos_version
rxswift
end
target 'SubtitlePlayer iOS' do
libraries_project
ios_version
rxswift
end
target 'SubtitlePlayer macOS' do
libraries_project
macos_version
rxswift
end
target 'SubtitlePlayer tvOS' do
libraries_project
tvos_version
rxswift
end
target 'SubtitlePlayer watchOS' do
libraries_project
watchos_version
rxswift
end
target 'SubtitleApp' do
apps_project
ios_version
rxswift
gzip
end
target 'SubtitleApp Desktop' do
apps_project
macos_version
rxswift
gzip
end
target 'SubtitleApp TV' do
apps_project
tvos_version
rxswift
gzip
end
target 'SubtitleApp watchOS Extension' do
apps_project
watchos_version
rxswift
gzip
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
config.build_settings['SWIFT_VERSION'] = "5.0"
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = "YES"
end
end
end