forked from brunophilipe/Cakebrew
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Podfile
42 lines (33 loc) · 1.13 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
41
42
$macOSVersion = '13.3'
platform :macos, $macOSVersion
workspace 'Cicerone'
target 'Cicerone' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for Cicerone
pod 'PXSourceList', :git => 'https://github.com/brunophilipe/PXSourceList.git'
pod 'DCOAboutWindow'
pod 'Sparkle'
target 'CiceroneTests' do
inherit! :search_paths
# Pods for testing
end
end
post_install do |installer|
installer.generated_projects.each do |project|
def customize_build (build)
build['ARCHS'] = '$(NATIVE_ARCH)' # set to native architecture
build['DEPLOYMENT_POSTPROCESSING'] = 'YES'
build['ONLY_ACTIVE_ARCH'] = 'YES'
build['MACOSX_DEPLOYMENT_TARGET'] = $macOSVersion # not sure if targets inherit specified platform in an accessible way from an abstract_target ancestor
end
project.build_configurations.each do |configuration|
customize_build configuration.build_settings
end
project.targets.each do |target|
target.build_configurations.each do |configuration|
customize_build configuration.build_settings
end
end
end
end