-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
51 lines (41 loc) · 1.45 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
workspace 'spm-sadness'
# ignore all warnings from all pods
inhibit_all_warnings!
target 'FooApp' do
project 'FooApp/FooApp.xcodeproj'
platform :ios, '15.0'
use_frameworks!
pod 'GSMessages', '~> 1.0'
pod 'Alamofire', '5.4.4'
end
target 'FooFramework' do
project 'FooFramework/FooFramework.xcodeproj'
platform :ios, '15.0'
use_frameworks!
pod 'SwiftOTP'
end
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['ENABLE_BITCODE'] = 'NO'
# Reset deployment targets to use the one we have on the main project
config.build_settings.delete 'MACOSX_DEPLOYMENT_TARGET'
# The swift version setting can be removed once we move to lottie 3.4.2 or higher
if target.name == 'lottie-ios'
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '5.0'
end
end
end
end
# Fix bundle signing problems started with Xcode 14: https://github.com/CocoaPods/CocoaPods/issues/11402
installer.pods_project.targets.each do |target|
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
target.build_configurations.each do |config|
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
end
end
end
# End of fix
end