Skip to content

Commit 3c3391b

Browse files
committed
Update macOS project to run scripts
1 parent dabc519 commit 3c3391b

File tree

1 file changed

+147
-6
lines changed

1 file changed

+147
-6
lines changed

TemplateProject/projects/TemplateProject-macOS.xcodeproj/project.pbxproj

Lines changed: 147 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
isa = PBXAggregateTarget;
2525
buildConfigurationList = B87FD1ED2351C6F900CF7307 /* Build configuration list for PBXAggregateTarget "Update plists" */;
2626
buildPhases = (
27-
B87FD1EE2351C71300CF7307 /* ShellScript */,
27+
B87FD1EE2351C71300CF7307 /* Run Script - Update Version */,
28+
4FC523AD29AB9A280011C63B /* ShellScript */,
2829
);
2930
dependencies = (
3031
);
@@ -1646,6 +1647,7 @@
16461647
isa = PBXNativeTarget;
16471648
buildConfigurationList = 4F20EF2F132C69FE0030E34C /* Build configuration list for PBXNativeTarget "VST2" */;
16481649
buildPhases = (
1650+
4F210D6829AB9B98000EBD80 /* Run Script - Prepare Resources */,
16491651
4F20EEC9132C69FE0030E34C /* Resources */,
16501652
4F20EECA132C69FE0030E34C /* Sources */,
16511653
4F20EF2C132C69FE0030E34C /* Frameworks */,
@@ -1684,8 +1686,9 @@
16841686
isa = PBXNativeTarget;
16851687
buildConfigurationList = 4F3AE1DC12C0E5E2001FD7A4 /* Build configuration list for PBXNativeTarget "AU" */;
16861688
buildPhases = (
1687-
4F3AE1A212C0E5E2001FD7A4 /* Sources */,
1689+
4F210D6A29AB9BD4000EBD80 /* Run Script - Prepare Resources */,
16881690
4F25BECE12C61F47005D51F7 /* Resources */,
1691+
4F3AE1A212C0E5E2001FD7A4 /* Sources */,
16891692
4F3AE1DA12C0E5E2001FD7A4 /* Rez */,
16901693
4F744D4C14005ADA002FAD90 /* Run Script - Clear AudioUnit Caches */,
16911694
4FBDD26520A319580054B111 /* Frameworks */,
@@ -1704,6 +1707,8 @@
17041707
isa = PBXNativeTarget;
17051708
buildConfigurationList = 4F3EE1EC231438D000004786 /* Build configuration list for PBXNativeTarget "AUv3App" */;
17061709
buildPhases = (
1710+
4F210D6B29AB9C08000EBD80 /* Run Script - Prepare Resources */,
1711+
4FC523AC29AB99F00011C63B /* Run Script - SWELL Resgen */,
17071712
4F3EE1BE231438D000004786 /* Resources */,
17081713
4F3EE1C1231438D000004786 /* Sources */,
17091714
4F3EE1E6231438D000004786 /* Frameworks */,
@@ -1744,6 +1749,7 @@
17441749
isa = PBXNativeTarget;
17451750
buildConfigurationList = 4F9828DC140A9EB700F3FCC1 /* Build configuration list for PBXNativeTarget "VST3" */;
17461751
buildPhases = (
1752+
4F210D6929AB9BB3000EBD80 /* Run Script - Prepare Resources */,
17471753
4F9828AF140A9EB700F3FCC1 /* Resources */,
17481754
4F9828B5140A9EB700F3FCC1 /* Sources */,
17491755
4F9828D7140A9EB700F3FCC1 /* Frameworks */,
@@ -1783,7 +1789,8 @@
17831789
isa = PBXNativeTarget;
17841790
buildConfigurationList = 4FD16A0F13B63082001D0217 /* Build configuration list for PBXNativeTarget "APP" */;
17851791
buildPhases = (
1786-
4FBCC1B21FD5AE8500EFE550 /* Run Script - prepare_resources-mac.py */,
1792+
4F210D6729AB9B39000EBD80 /* Run Script - Prepare Resources */,
1793+
4FBCC1B21FD5AE8500EFE550 /* Run Script - SWELL Resgen */,
17871794
4FD16A0513B63081001D0217 /* Resources */,
17881795
4FD16A0613B63081001D0217 /* Sources */,
17891796
);
@@ -1997,6 +2004,101 @@
19972004
shellPath = /bin/sh;
19982005
shellScript = "if [ -d $APP_PATH/TemplateProject.app ]; then\n pluginkit -a $APP_PATH/TemplateProject.app/Contents/PlugIns/TemplateProject.appex\n echo \"Force register auv3\"\nelse\n echo \"App path doesn't exist yet, cant force register auv3\"\nfi\n";
19992006
};
2007+
4F210D6729AB9B39000EBD80 /* Run Script - Prepare Resources */ = {
2008+
isa = PBXShellScriptBuildPhase;
2009+
alwaysOutOfDate = 1;
2010+
buildActionMask = 2147483647;
2011+
files = (
2012+
);
2013+
inputFileListPaths = (
2014+
);
2015+
inputPaths = (
2016+
);
2017+
name = "Run Script - Prepare Resources";
2018+
outputFileListPaths = (
2019+
);
2020+
outputPaths = (
2021+
);
2022+
runOnlyForDeploymentPostprocessing = 0;
2023+
shellPath = /bin/sh;
2024+
shellScript = "python3 ../scripts/prepare_resources-mac.py\n";
2025+
};
2026+
4F210D6829AB9B98000EBD80 /* Run Script - Prepare Resources */ = {
2027+
isa = PBXShellScriptBuildPhase;
2028+
alwaysOutOfDate = 1;
2029+
buildActionMask = 2147483647;
2030+
files = (
2031+
);
2032+
inputFileListPaths = (
2033+
);
2034+
inputPaths = (
2035+
);
2036+
name = "Run Script - Prepare Resources";
2037+
outputFileListPaths = (
2038+
);
2039+
outputPaths = (
2040+
);
2041+
runOnlyForDeploymentPostprocessing = 0;
2042+
shellPath = /bin/sh;
2043+
shellScript = "python3 ../scripts/prepare_resources-mac.py\n";
2044+
};
2045+
4F210D6929AB9BB3000EBD80 /* Run Script - Prepare Resources */ = {
2046+
isa = PBXShellScriptBuildPhase;
2047+
alwaysOutOfDate = 1;
2048+
buildActionMask = 2147483647;
2049+
files = (
2050+
);
2051+
inputFileListPaths = (
2052+
);
2053+
inputPaths = (
2054+
);
2055+
name = "Run Script - Prepare Resources";
2056+
outputFileListPaths = (
2057+
);
2058+
outputPaths = (
2059+
);
2060+
runOnlyForDeploymentPostprocessing = 0;
2061+
shellPath = /bin/sh;
2062+
shellScript = "python3 ../scripts/prepare_resources-mac.py\n";
2063+
};
2064+
4F210D6A29AB9BD4000EBD80 /* Run Script - Prepare Resources */ = {
2065+
isa = PBXShellScriptBuildPhase;
2066+
alwaysOutOfDate = 1;
2067+
buildActionMask = 2147483647;
2068+
files = (
2069+
);
2070+
inputFileListPaths = (
2071+
);
2072+
inputPaths = (
2073+
);
2074+
name = "Run Script - Prepare Resources";
2075+
outputFileListPaths = (
2076+
);
2077+
outputPaths = (
2078+
);
2079+
runOnlyForDeploymentPostprocessing = 0;
2080+
shellPath = /bin/sh;
2081+
shellScript = "python3 ../scripts/prepare_resources-mac.py\n";
2082+
};
2083+
4F210D6B29AB9C08000EBD80 /* Run Script - Prepare Resources */ = {
2084+
isa = PBXShellScriptBuildPhase;
2085+
alwaysOutOfDate = 1;
2086+
buildActionMask = 2147483647;
2087+
files = (
2088+
);
2089+
inputFileListPaths = (
2090+
);
2091+
inputPaths = (
2092+
);
2093+
name = "Run Script - Prepare Resources";
2094+
outputFileListPaths = (
2095+
);
2096+
outputPaths = (
2097+
);
2098+
runOnlyForDeploymentPostprocessing = 0;
2099+
shellPath = /bin/sh;
2100+
shellScript = "python3 ../scripts/prepare_resources-mac.py\n";
2101+
};
20002102
4F744D4C14005ADA002FAD90 /* Run Script - Clear AudioUnit Caches */ = {
20012103
isa = PBXShellScriptBuildPhase;
20022104
alwaysOutOfDate = 1;
@@ -2027,29 +2129,68 @@
20272129
shellPath = /bin/sh;
20282130
shellScript = "touch $IPLUG_PATH/AUv3/IPlugAUv3Appex.m\n";
20292131
};
2030-
4FBCC1B21FD5AE8500EFE550 /* Run Script - prepare_resources-mac.py */ = {
2132+
4FBCC1B21FD5AE8500EFE550 /* Run Script - SWELL Resgen */ = {
2133+
isa = PBXShellScriptBuildPhase;
2134+
alwaysOutOfDate = 1;
2135+
buildActionMask = 2147483647;
2136+
files = (
2137+
);
2138+
inputPaths = (
2139+
);
2140+
name = "Run Script - SWELL Resgen";
2141+
outputPaths = (
2142+
);
2143+
runOnlyForDeploymentPostprocessing = 0;
2144+
shellPath = /bin/sh;
2145+
shellScript = "../../iPlug2/WDL/swell/swell_resgen.sh ../resources/main.rc\n";
2146+
};
2147+
4FC523AC29AB99F00011C63B /* Run Script - SWELL Resgen */ = {
20312148
isa = PBXShellScriptBuildPhase;
20322149
alwaysOutOfDate = 1;
20332150
buildActionMask = 2147483647;
20342151
files = (
20352152
);
2153+
inputFileListPaths = (
2154+
);
20362155
inputPaths = (
20372156
);
2038-
name = "Run Script - prepare_resources-mac.py";
2157+
name = "Run Script - SWELL Resgen";
2158+
outputFileListPaths = (
2159+
);
20392160
outputPaths = (
20402161
);
20412162
runOnlyForDeploymentPostprocessing = 0;
20422163
shellPath = /bin/sh;
20432164
shellScript = "../../iPlug2/WDL/swell/swell_resgen.sh ../resources/main.rc\n";
20442165
};
2045-
B87FD1EE2351C71300CF7307 /* ShellScript */ = {
2166+
4FC523AD29AB9A280011C63B /* ShellScript */ = {
2167+
isa = PBXShellScriptBuildPhase;
2168+
alwaysOutOfDate = 1;
2169+
buildActionMask = 2147483647;
2170+
files = (
2171+
);
2172+
inputFileListPaths = (
2173+
);
2174+
inputPaths = (
2175+
);
2176+
outputFileListPaths = (
2177+
);
2178+
outputPaths = (
2179+
);
2180+
runOnlyForDeploymentPostprocessing = 0;
2181+
shellPath = /bin/sh;
2182+
shellScript = "
2183+
";
2184+
};
2185+
B87FD1EE2351C71300CF7307 /* Run Script - Update Version */ = {
20462186
isa = PBXShellScriptBuildPhase;
20472187
alwaysOutOfDate = 1;
20482188
buildActionMask = 2147483647;
20492189
files = (
20502190
);
20512191
inputPaths = (
20522192
);
2193+
name = "Run Script - Update Version";
20532194
outputPaths = (
20542195
);
20552196
runOnlyForDeploymentPostprocessing = 0;

0 commit comments

Comments
 (0)