forked from LiveEnhancementSuite/LESforMacOS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
40 lines (35 loc) · 1.34 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Uncomment this line to define a global platform for your project
platform :osx, '11.0'
inhibit_all_warnings!
source 'https://github.com/CocoaPods/Specs.git'
project 'Hammerspoon', 'Profile' => :debug
target 'Hammerspoon' do
pod 'ASCIImage', '1.0.0'
pod 'CocoaLumberjack', '3.5.3'
pod 'CocoaAsyncSocket', '7.6.5'
pod 'CocoaHTTPServer', :git => 'https://github.com/Hammerspoon/CocoaHTTPServer.git'
pod 'PocketSocket/Client', '1.0.1'
pod 'Sparkle', '2.3.2', :configurations => ['Release']
pod 'MIKMIDI', '1.7.1'
pod 'SocketRocket', '0.5.1'
pod 'ORSSerialPort', '2.1.0'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
puts "Enabling assertions in #{target.name}"
target.build_configurations.each do |config|
config.build_settings['ENABLE_NS_ASSERTIONS'] = 'YES'
if ['10.6', '10.7', '10.8', '10.9', '10.10', '10.11', '10.15'].include? config.build_settings['MACOSX_DEPLOYMENT_TARGET']
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '11.0'
end
end
puts "Removing hard-coded architecture in #{target.name}"
target.build_configurations.each do |config|
config.build_settings.delete 'ARCHS'
end
puts "Enabling unconditional Universal Binary support for #{target.name}"
target.build_configurations.each do |config|
config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
end
end
end