-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPodfile
63 lines (54 loc) · 1.51 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
source 'https://cdn.cocoapods.org'
# Uncomment the next line to define a global platform for your project
platform :ios, '15.0'
inhibit_all_warnings!
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# MARK: - Defs
def shared_pods
pod 'KeychainAccess'
pod 'Kingfisher'
pod 'KurozoraKit'#, path: '../KurozoraKit'
pod 'R.swift'
pod 'SwifterSwift'
pod 'SwiftTheme'
pod 'TRON', '5.5.0-beta.1'
pod 'TRON/SwiftyJSON'
end
def kurozora_pods
shared_pods
pod 'Cosmos'
pod 'ESTabBarController-swift'
pod 'FLEX', :configurations => ['Debug']
pod 'IQKeyboardManagerSwift'
pod 'ReachabilitySwift'
pod 'Solar'
pod 'SPConfetti'
pod 'Tabman'
pod 'WhatsNew'
pod 'XCDYouTubeKit', :git => 'https://github.com/armendh/XCDYouTubeKit', :branch => 'master', :commit => '651a6a51c695c5819eb51ba2f98d0b64094315b9'
end
def kurozora_widget_pods
shared_pods
end
# MARK: - Targets
target 'Kurozora' do
kurozora_pods
end
target 'KurozoraWidgetExtension' do
kurozora_widget_pods
end
# MARK: - Post install scripts
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0'
config.build_settings['SWIFT_VERSION'] = '5.0'
end
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle" # <--- this
target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
end