forked from troystribling/BlueCap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPodfile
More file actions
22 lines (19 loc) · 682 Bytes
/
Copy pathPodfile
File metadata and controls
22 lines (19 loc) · 682 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
platform :ios, '11.0'
use_frameworks!
target 'Beacon' do
pod 'BlueCapKit', :path => '../..'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
puts "TARGET: #{target.name}"
target.build_configurations.each do |config|
puts "SETTING CONFIG: #{config.name}"
config.build_settings['SWIFT_VERSION'] = '3.0'
puts "config.build_settings['SWIFT_VERSION']: #{config.build_settings['SWIFT_VERSION']}"
if config.name == 'Debug'
config.build_settings['OTHER_SWIFT_FLAGS'] = '-DDEBUG'
puts "config.build_settings['OTHER_SWIFT_FLAGS']: #{config.build_settings['OTHER_SWIFT_FLAGS']}"
end
end
end
end