forked from joncardasis/ChromaColorPicker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPodfile
More file actions
73 lines (53 loc) · 2.1 KB
/
Podfile
File metadata and controls
73 lines (53 loc) · 2.1 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
source 'https://github.com/CocoaPods/Specs.git'
inhibit_all_warnings!
install! 'cocoapods', :deterministic_uuids => false
# Disable reporting of stats, so own pods don't get reported
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
# -------------------------------------------------
# Uncomment the next line to define a global platform for your project
PROJECT_NAME = 'ChromaColorPicker-Demo'
TEST_TARGET = 'ChromaColorPickerTests'
DEMO_TARGET = 'ChromaColorPicker-Demo'
SCHEME_FILE = 'ChromaColorPickerTests.xcscheme'
target TEST_TARGET do
project PROJECT_NAME
use_frameworks!
platform :ios, '9.3'
inherit! :search_paths
# Pods for ChromaColorPicker-Demo
pod 'EarlGrey'
# https://github.com/SwifterSwift/SwifterSwift
pod 'SwifterSwift'
end
# -------------------------------------------------
target DEMO_TARGET do
use_frameworks!
platform :ios, '9.3'
inherit! :search_paths
# https://github.com/SwifterSwift/SwifterSwift
pod 'SwifterSwift'
end
# -------------------------------------------------
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'NO'
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ''
config.build_settings['CODE_SIGNING_REQUIRED'] = 'NO'
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
config.build_settings['ENABLE_BITCODE'] = 'YES'
config.build_settings['SWIFT_VERSION'] = '4.2'
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.3'
if config.name == "Debug"
config.build_settings['GCC_OPTIMIZATION_LEVEL'] = '0'
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Onone'
else
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Owholemodule'
end
end
end
installer.pods_project.build_configuration_list.build_configurations.each do |configuration|
configuration.build_settings['CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'] = 'YES'
configuration.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'NO'
end
end