-
Notifications
You must be signed in to change notification settings - Fork 135
/
Copy pathPodfile
51 lines (39 loc) · 1.37 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
# frozen_string_literal: true
source 'https://cdn.cocoapods.org/'
use_modular_headers!
inhibit_all_warnings!
app_ios_deployment_target = Gem::Version.new('15.0')
def common_pods
pod 'google-cast-sdk-no-bluetooth', git: 'https://github.com/Automattic/google-cast'
end
def swiftlint_version
require 'yaml'
YAML.load_file('.swiftlint.yml')['swiftlint_version']
end
target 'podcasts' do
platform :ios, app_ios_deployment_target.version
common_pods
pod 'PulseCore', git: 'https://github.com/kean/Pulse.git', tag: '4.2.4', configurations: %w[Debug Staging Prototype]
pod 'PulseUI', git: 'https://github.com/kean/Pulse.git', tag: '4.2.4', configurations: %w[Debug Staging Prototype]
end
target 'PocketCastsTests' do
platform :ios, app_ios_deployment_target.version
common_pods
pod 'PulseCore', git: 'https://github.com/kean/Pulse.git', tag: '4.2.4'
pod 'PulseUI', git: 'https://github.com/kean/Pulse.git', tag: '4.2.4'
end
abstract_target 'CI' do
platform :ios, app_ios_deployment_target.version
pod 'SwiftGen', '~> 6.0'
pod 'SwiftLint', swiftlint_version
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if target.name != 'Pocket Casts Watch App'
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] =
app_ios_deployment_target.version
end
end
end
end