-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathPodfile
101 lines (83 loc) · 4.34 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
platform :ios, '12.0'
target 'Beiwe' do
use_frameworks!
workspace 'Beiwe.xcworkspace'
# firebase (push notifications)
#pod 'FirebaseCrashlytics' # old: pod 'Crashlytics', '~> 3.4'
pod 'FirebaseAnalytics'
pod 'FirebaseMessaging' # old: pod 'Firebase/Messaging', '~>6'
# sentry error reporting (was 4.5, that simply stopped compiling in xcode 16 (ios 18 release)
# Reyva - pod 'Sentry', :git => 'https://github.com/getsentry/sentry-cocoa.git', :tag => '8.36.0'
pod 'Sentry', '~> 8.37.0'
# pod 'Sentry', :git => 'https://github.com/getsentry/sentry-cocoa.git', :tag => '8.36.0'
# one-off libraries
pod 'EmitterKit', '~> 5.2.2' # old: '~> 5.1'
# pod 'XCGLogger', '~> 7.0.0'
# I think this is ui?
pod 'XLActionController', '~>5.0.1'
# logging
pod 'XCGLogger', '~> 7.0.0'
# ui
pod 'Eureka'
# validates the inputs at registration
pod 'SwiftValidator', :git => 'https://github.com/SwiftValidatorCommunity/SwiftValidator.git', :branch => 'master'
# pops up a heads-up-display on certain pages.
pod 'PKHUD', :git => 'https://github.com/pkluz/PKHUD.git', :tag => '5.4.0' # old: :branch => 'release/swift4'
# the surveys
# pod 'ResearchKit', :git => 'https://github.com/ResearchKit/ResearchKit.git', :tag => '2.1.0' #:commit => 'b50e1d7'
# okaayy, that version of researchkit resulted in a replicable crash involving the survey back button,
# and an issue where the next/submit buttons became invisible.
pod 'ResearchKit', :git => 'https://github.com/ResearchKit/ResearchKit.git', :commit => 'b50e1d7'
# no clue
pod 'Hakuba', :git => 'https://github.com/eskizyen/Hakuba.git', :branch => 'Swift3'
# Database
# the old database library, probably not compatible with new code: pod 'couchbase-lite-ios'
pod 'CouchbaseLite-Swift'
# Reachability - what is reachability? well people get their app rejected for it, and it wasn't functional for Years!
pod 'ReachabilitySwift', '5.2.3' # old: '~>3'
# a crashy library that links state to the database.
# master branch stopped working, gets error about minimum app version number that cannot be resolved?
#pod 'ObjectMapper', :git => 'https://github.com/Hearst-DD/ObjectMapper.git', :branch => 'master'
pod 'ObjectMapper', :git => 'https://github.com/Hearst-DD/ObjectMapper.git', :commit => '0b96a734de3ea1c87374ae677064f86adb0716ec'
# Http requests
pod 'Alamofire', '~> 4.5'
# Encryption / Security
pod 'KeychainSwift', '~> 24.0'
pod 'IDZSwiftCommonCrypto', '~> 0.16.1' # old: '~> 0.13.0'
# SwiftyRSA 1.8.0 was not updated on Cocoapods, https://github.com/TakeScoop/SwiftyRSA/issues/263
pod 'SwiftyRSA', :git => "https://github.com/TakeScoop/SwiftyRSA.git", :tag => '1.8.0'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
next unless (target.name == 'ResearchKit')
target.build_configurations.each do |config|
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Onone'
end
end
installer.pods_project.targets.each do |target|
if target.name == 'Eureka' || target.name == 'XLActionController' || target.name == 'ResearchKit' || target.name == 'ReachabilitySwift' || target.name == 'IDZSwiftCommonCrypto'
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '5.10'
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
elsif target.name == 'Hakuba' || target.name == 'EmitterKit' || target.name == 'SwiftValidator'
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.1'
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
else
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '5.0'
config.build_settings['ENABLE_BITCODE'] = 'NO'
if target.name != "Sentry"
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO'
end
end
end
end
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
end
end
end