Skip to content

Commit 5a58659

Browse files
committed
Update macOS project to run scripts
1 parent bd98fae commit 5a58659

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
);
@@ -1640,6 +1641,7 @@
16401641
isa = PBXNativeTarget;
16411642
buildConfigurationList = 4F20EF2F132C69FE0030E34C /* Build configuration list for PBXNativeTarget "VST2" */;
16421643
buildPhases = (
1644+
4F210D6829AB9B98000EBD80 /* Run Script - Prepare Resources */,
16431645
4F20EEC9132C69FE0030E34C /* Resources */,
16441646
4F20EECA132C69FE0030E34C /* Sources */,
16451647
4F20EF2C132C69FE0030E34C /* Frameworks */,
@@ -1678,8 +1680,9 @@
16781680
isa = PBXNativeTarget;
16791681
buildConfigurationList = 4F3AE1DC12C0E5E2001FD7A4 /* Build configuration list for PBXNativeTarget "AU" */;
16801682
buildPhases = (
1681-
4F3AE1A212C0E5E2001FD7A4 /* Sources */,
1683+
4F210D6A29AB9BD4000EBD80 /* Run Script - Prepare Resources */,
16821684
4F25BECE12C61F47005D51F7 /* Resources */,
1685+
4F3AE1A212C0E5E2001FD7A4 /* Sources */,
16831686
4F3AE1DA12C0E5E2001FD7A4 /* Rez */,
16841687
4F744D4C14005ADA002FAD90 /* Run Script - Clear AudioUnit Caches */,
16851688
4FBDD26520A319580054B111 /* Frameworks */,
@@ -1698,6 +1701,8 @@
16981701
isa = PBXNativeTarget;
16991702
buildConfigurationList = 4F3EE1EC231438D000004786 /* Build configuration list for PBXNativeTarget "AUv3App" */;
17001703
buildPhases = (
1704+
4F210D6B29AB9C08000EBD80 /* Run Script - Prepare Resources */,
1705+
4FC523AC29AB99F00011C63B /* Run Script - SWELL Resgen */,
17011706
4F3EE1BE231438D000004786 /* Resources */,
17021707
4F3EE1C1231438D000004786 /* Sources */,
17031708
4F3EE1E6231438D000004786 /* Frameworks */,
@@ -1738,6 +1743,7 @@
17381743
isa = PBXNativeTarget;
17391744
buildConfigurationList = 4F9828DC140A9EB700F3FCC1 /* Build configuration list for PBXNativeTarget "VST3" */;
17401745
buildPhases = (
1746+
4F210D6929AB9BB3000EBD80 /* Run Script - Prepare Resources */,
17411747
4F9828AF140A9EB700F3FCC1 /* Resources */,
17421748
4F9828B5140A9EB700F3FCC1 /* Sources */,
17431749
4F9828D7140A9EB700F3FCC1 /* Frameworks */,
@@ -1777,7 +1783,8 @@
17771783
isa = PBXNativeTarget;
17781784
buildConfigurationList = 4FD16A0F13B63082001D0217 /* Build configuration list for PBXNativeTarget "APP" */;
17791785
buildPhases = (
1780-
4FBCC1B21FD5AE8500EFE550 /* Run Script - prepare_resources-mac.py */,
1786+
4F210D6729AB9B39000EBD80 /* Run Script - Prepare Resources */,
1787+
4FBCC1B21FD5AE8500EFE550 /* Run Script - SWELL Resgen */,
17811788
4FD16A0513B63081001D0217 /* Resources */,
17821789
4FD16A0613B63081001D0217 /* Sources */,
17831790
);
@@ -1991,6 +1998,101 @@
19911998
shellPath = /bin/sh;
19921999
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";
19932000
};
2001+
4F210D6729AB9B39000EBD80 /* Run Script - Prepare Resources */ = {
2002+
isa = PBXShellScriptBuildPhase;
2003+
alwaysOutOfDate = 1;
2004+
buildActionMask = 2147483647;
2005+
files = (
2006+
);
2007+
inputFileListPaths = (
2008+
);
2009+
inputPaths = (
2010+
);
2011+
name = "Run Script - Prepare Resources";
2012+
outputFileListPaths = (
2013+
);
2014+
outputPaths = (
2015+
);
2016+
runOnlyForDeploymentPostprocessing = 0;
2017+
shellPath = /bin/sh;
2018+
shellScript = "python3 ../scripts/prepare_resources-mac.py\n";
2019+
};
2020+
4F210D6829AB9B98000EBD80 /* Run Script - Prepare Resources */ = {
2021+
isa = PBXShellScriptBuildPhase;
2022+
alwaysOutOfDate = 1;
2023+
buildActionMask = 2147483647;
2024+
files = (
2025+
);
2026+
inputFileListPaths = (
2027+
);
2028+
inputPaths = (
2029+
);
2030+
name = "Run Script - Prepare Resources";
2031+
outputFileListPaths = (
2032+
);
2033+
outputPaths = (
2034+
);
2035+
runOnlyForDeploymentPostprocessing = 0;
2036+
shellPath = /bin/sh;
2037+
shellScript = "python3 ../scripts/prepare_resources-mac.py\n";
2038+
};
2039+
4F210D6929AB9BB3000EBD80 /* Run Script - Prepare Resources */ = {
2040+
isa = PBXShellScriptBuildPhase;
2041+
alwaysOutOfDate = 1;
2042+
buildActionMask = 2147483647;
2043+
files = (
2044+
);
2045+
inputFileListPaths = (
2046+
);
2047+
inputPaths = (
2048+
);
2049+
name = "Run Script - Prepare Resources";
2050+
outputFileListPaths = (
2051+
);
2052+
outputPaths = (
2053+
);
2054+
runOnlyForDeploymentPostprocessing = 0;
2055+
shellPath = /bin/sh;
2056+
shellScript = "python3 ../scripts/prepare_resources-mac.py\n";
2057+
};
2058+
4F210D6A29AB9BD4000EBD80 /* Run Script - Prepare Resources */ = {
2059+
isa = PBXShellScriptBuildPhase;
2060+
alwaysOutOfDate = 1;
2061+
buildActionMask = 2147483647;
2062+
files = (
2063+
);
2064+
inputFileListPaths = (
2065+
);
2066+
inputPaths = (
2067+
);
2068+
name = "Run Script - Prepare Resources";
2069+
outputFileListPaths = (
2070+
);
2071+
outputPaths = (
2072+
);
2073+
runOnlyForDeploymentPostprocessing = 0;
2074+
shellPath = /bin/sh;
2075+
shellScript = "python3 ../scripts/prepare_resources-mac.py\n";
2076+
};
2077+
4F210D6B29AB9C08000EBD80 /* Run Script - Prepare Resources */ = {
2078+
isa = PBXShellScriptBuildPhase;
2079+
alwaysOutOfDate = 1;
2080+
buildActionMask = 2147483647;
2081+
files = (
2082+
);
2083+
inputFileListPaths = (
2084+
);
2085+
inputPaths = (
2086+
);
2087+
name = "Run Script - Prepare Resources";
2088+
outputFileListPaths = (
2089+
);
2090+
outputPaths = (
2091+
);
2092+
runOnlyForDeploymentPostprocessing = 0;
2093+
shellPath = /bin/sh;
2094+
shellScript = "python3 ../scripts/prepare_resources-mac.py\n";
2095+
};
19942096
4F744D4C14005ADA002FAD90 /* Run Script - Clear AudioUnit Caches */ = {
19952097
isa = PBXShellScriptBuildPhase;
19962098
alwaysOutOfDate = 1;
@@ -2021,29 +2123,68 @@
20212123
shellPath = /bin/sh;
20222124
shellScript = "touch $IPLUG_PATH/AUv3/IPlugAUv3Appex.m\n";
20232125
};
2024-
4FBCC1B21FD5AE8500EFE550 /* Run Script - prepare_resources-mac.py */ = {
2126+
4FBCC1B21FD5AE8500EFE550 /* Run Script - SWELL Resgen */ = {
2127+
isa = PBXShellScriptBuildPhase;
2128+
alwaysOutOfDate = 1;
2129+
buildActionMask = 2147483647;
2130+
files = (
2131+
);
2132+
inputPaths = (
2133+
);
2134+
name = "Run Script - SWELL Resgen";
2135+
outputPaths = (
2136+
);
2137+
runOnlyForDeploymentPostprocessing = 0;
2138+
shellPath = /bin/sh;
2139+
shellScript = "../../iPlug2/WDL/swell/swell_resgen.sh ../resources/main.rc\n";
2140+
};
2141+
4FC523AC29AB99F00011C63B /* Run Script - SWELL Resgen */ = {
20252142
isa = PBXShellScriptBuildPhase;
20262143
alwaysOutOfDate = 1;
20272144
buildActionMask = 2147483647;
20282145
files = (
20292146
);
2147+
inputFileListPaths = (
2148+
);
20302149
inputPaths = (
20312150
);
2032-
name = "Run Script - prepare_resources-mac.py";
2151+
name = "Run Script - SWELL Resgen";
2152+
outputFileListPaths = (
2153+
);
20332154
outputPaths = (
20342155
);
20352156
runOnlyForDeploymentPostprocessing = 0;
20362157
shellPath = /bin/sh;
20372158
shellScript = "../../iPlug2/WDL/swell/swell_resgen.sh ../resources/main.rc\n";
20382159
};
2039-
B87FD1EE2351C71300CF7307 /* ShellScript */ = {
2160+
4FC523AD29AB9A280011C63B /* ShellScript */ = {
2161+
isa = PBXShellScriptBuildPhase;
2162+
alwaysOutOfDate = 1;
2163+
buildActionMask = 2147483647;
2164+
files = (
2165+
);
2166+
inputFileListPaths = (
2167+
);
2168+
inputPaths = (
2169+
);
2170+
outputFileListPaths = (
2171+
);
2172+
outputPaths = (
2173+
);
2174+
runOnlyForDeploymentPostprocessing = 0;
2175+
shellPath = /bin/sh;
2176+
shellScript = "
2177+
";
2178+
};
2179+
B87FD1EE2351C71300CF7307 /* Run Script - Update Version */ = {
20402180
isa = PBXShellScriptBuildPhase;
20412181
alwaysOutOfDate = 1;
20422182
buildActionMask = 2147483647;
20432183
files = (
20442184
);
20452185
inputPaths = (
20462186
);
2187+
name = "Run Script - Update Version";
20472188
outputPaths = (
20482189
);
20492190
runOnlyForDeploymentPostprocessing = 0;

0 commit comments

Comments
 (0)