27 lines
962 B
Ruby
27 lines
962 B
Ruby
# Uncomment the next line to define a global platform for your project
|
|
platform :ios, '13.0'
|
|
|
|
target 'WOKA' do
|
|
# Comment the next line if you don't want to use dynamic frameworks
|
|
use_frameworks!
|
|
|
|
pod 'IQKeyboardManagerSwift', '~> 7.0.2'
|
|
pod 'lottie-ios'
|
|
|
|
# Bottom line is for removing IPHONEOS_DEPLOYMENT_TARGET
|
|
post_install do |installer|
|
|
installer.generated_projects.each do |project|
|
|
project.targets.each do |target|
|
|
target.build_configurations.each do |config|
|
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
|
|
config.build_settings['CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER'] = 'NO'
|
|
xcconfig_path = config.base_configuration_reference.real_path
|
|
xcconfig = File.read(xcconfig_path)
|
|
xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
|
|
File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|