-
Notifications
You must be signed in to change notification settings - Fork 1
/
Podfile
37 lines (29 loc) · 917 Bytes
/
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
# Global project platform
platform :ios, '11.0'
target 'Studs' do
# Use dynamic frameworks (Swift - YES)
use_frameworks!
# Ignore warnings from pods
inhibit_all_warnings!
# Pods for Studs
pod 'Alamofire', '~> 4.5'
pod '1PasswordExtension', '~> 1.8.5'
pod 'FirebaseFirestore', '~> 0.10'
pod 'FirebaseMessaging', '~> 2.0'
pod 'Pulley', '~> 2.4'
# Dev dependencies
pod 'SwiftLint'
target 'StudsTests' do
inherit! :search_paths
# Pods for testing
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
plist_buddy = "/usr/libexec/PlistBuddy"
plist = "Pods/Target Support Files/#{target}/Info.plist"
puts "Add arm64 to #{target} to make it pass iTC verification."
`#{plist_buddy} -c "Add UIRequiredDeviceCapabilities array" "#{plist}"`
`#{plist_buddy} -c "Add UIRequiredDeviceCapabilities:0 string arm64" "#{plist}"`
end
end