forked from material-motion/motion-animator-objc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
25 lines (22 loc) · 1012 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
workspace 'MotionAnimator.xcworkspace'
use_frameworks!
platform :ios, '13.0'
target "MotionAnimatorCatalog" do
pod 'CatalogByConvention'
pod 'MotionAnimator', :path => './'
project 'examples/apps/Catalog/MotionAnimatorCatalog.xcodeproj'
end
target "UnitTests" do
project 'examples/apps/Catalog/MotionAnimatorCatalog.xcodeproj'
pod 'MotionAnimator', :path => './'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |configuration|
configuration.build_settings['SWIFT_VERSION'] = "5.0"
if target.name.start_with?("Motion")
configuration.build_settings['WARNING_CFLAGS'] ="$(inherited) -Wall -Wcast-align -Wconversion -Werror -Wextra -Wimplicit-atomic-properties -Wmissing-prototypes -Wno-sign-conversion -Wno-unused-parameter -Woverlength-strings -Wshadow -Wstrict-selector-match -Wundeclared-selector -Wunreachable-code -Wno-error=deprecated -Wno-error=deprecated-implementations"
end
end
end
end