-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
37 lines (32 loc) · 939 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
platform :ios, '12.0'
inhibit_all_warnings!
use_frameworks!
def openweb_pod
pod 'OpenWebSDK', '2.6.3'
end
def rx_pods
pod 'RxSwift', '6.7.0'
pod 'RxRelay', '6.7.0'
pod 'RxCocoa', '6.7.0'
end
def general_pods
pod 'SnapKit', '~> 5.7.1'
pod 'Alamofire', '~> 5.10.1'
end
target 'OpenWeb-SampleApp' do
openweb_pod
rx_pods
general_pods
end
# Setting `BUILD_LIBRARY_FOR_DISTRIBUTION` to `YES` in the host application for Rx dependencies.
# This step is required for `OpenWebSDK.xcframework` to find symbols of the Rx dependencies at runtime.
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
if target.name == "RxSwift" || target.name == "RxCocoa" || target.name == "RxRelay"
config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
end
end
end
end