-
Notifications
You must be signed in to change notification settings - Fork 285
/
Podfile
75 lines (61 loc) · 1.59 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
# frozen_string_literal: true
source 'https://cdn.cocoapods.org/'
raise 'Please run CocoaPods via `bundle exec`' unless %w[BUNDLE_BIN_PATH BUNDLE_GEMFILE].any? { |k| ENV.key?(k) }
inhibit_all_warnings!
use_frameworks!
platform :ios, '13.0'
workspace 'Simplenote.xcworkspace'
# Main
#
abstract_target 'Automattic' do
# Main Target
#
target 'Simplenote' do
# Third Party
#
pod 'Gridicons', '~> 0.18'
app_center_rule = '~> 5.0'
pod 'AppCenter', app_center_rule
pod 'AppCenter/Distribute', app_center_rule
# Automattic
#
pod 'Simperium', '1.9.0'
pod 'WordPress-Ratings-iOS', '0.0.2'
# Testing Target
#
target 'SimplenoteTests' do
inherit! :search_paths
end
end
# Extension Target
#
target 'SimplenoteShare' do
# Third Party
#
pod 'ZIPFoundation', '~> 0.9.9'
end
end
## Tools
## ===================
##
def swiftlint_version
require 'yaml'
YAML.load_file('.swiftlint.yml')['swiftlint_version']
end
abstract_target 'Tools' do
pod 'SwiftLint', swiftlint_version
end
# Post Install
#
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
# Remove min deploy target to clean up build warnings.
# See: https://stackoverflow.com/a/64048124
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
# Fix a code signing issue in Xcode 14 beta.
# This solution is suggested here: https://github.com/CocoaPods/CocoaPods/issues/11402#issuecomment-1189861270
config.build_settings['CODE_SIGN_IDENTITY'] = ''
end
end
end