Compare commits

...

1 Commits

Author SHA1 Message Date
Ivan Smolin 5f7e4cfd40 update podfile & gitignore 2021-02-19 21:57:03 +03:00
2 changed files with 20 additions and 3 deletions

View File

@ -1,4 +1,4 @@
source 'https://github.com/CocoaPods/Specs'
source 'https://cdn.cocoapods.org/'
source 'https://github.com/TouchInstinct/Podspecs.git'
platform :ios, '{{deployment_target}}'
@ -40,5 +40,22 @@ target '{{project_name}}' do
end
# fixes Xcode 12 warnings:
# "The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99."
# see https://github.com/CocoaPods/CocoaPods/issues/9884
min_supported_deployment_target = Version.new(9.0) # as of Xcode 12
post_install do |pi|
pi.pods_project.targets.each do |target|
target.build_configurations.each do |config|
build_config_version = Version.new(config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'])
max_deployment_target = [build_config_version, min_supported_deployment_target].max
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = max_deployment_target.to_s
end
end
end
# If you have slow HDD
ENV['COCOAPODS_DISABLE_STATS'] = "true"

View File

@ -92,9 +92,9 @@ iOSInjectionProject/
# homebrew-bundle
Brewfile.lock.json
# Node.js
# Ruby gems
# Dependency directories
node_modules/
*.gem
# Touch Instinct custom
Downloads/