-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathPodfile
36 lines (30 loc) · 1.16 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
platform :ios, '12.0'
workspace 'SwiftySRP'
abstract_target 'SwiftySRP_Base' do
use_frameworks!
# pod 'FFDataWrapper'
pod 'FFDataWrapper', '~> 2.2'
target 'SwiftySRP' do
project 'SwiftySRP'
target 'SwiftySRPTests' do
end
end
end
# This part is essential for playgrounds to work properly with frameworks installed with cocoapods.
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
installer.pods_project.targets.each do |target|
# Get rid of the compiler warning about missing linker paths.
target.new_shell_script_build_phase.shell_script = "mkdir -p $PODS_CONFIGURATION_BUILD_DIR/#{target.name}"
target.build_configurations.each do |config|
config.build_settings['CONFIGURATION_BUILD_DIR'] = '$PODS_CONFIGURATION_BUILD_DIR'
if config.name == 'Debug'
config.build_settings['OTHER_SWIFT_FLAGS'] = '-DDEBUG'
else
config.build_settings['OTHER_SWIFT_FLAGS'] = ''
end
end
end
end