| @@ -1593,10 +1593,10 @@ private: | |||||
| if (! projectType.isStaticLibrary() && target.type != Target::SharedCodeTarget) | if (! projectType.isStaticLibrary() && target.type != Target::SharedCodeTarget) | ||||
| target.addBuildPhase ("PBXFrameworksBuildPhase", target.frameworkIDs); | target.addBuildPhase ("PBXFrameworksBuildPhase", target.frameworkIDs); | ||||
| target.addShellScriptBuildPhase ("Post-build script", getPostBuildScript()); | |||||
| } | } | ||||
| target.addShellScriptBuildPhase ("Post-build script", getPostBuildScript()); | |||||
| if (project.getProjectType().isAudioPlugin() && project.shouldBuildAUv3().getValue() | if (project.getProjectType().isAudioPlugin() && project.shouldBuildAUv3().getValue() | ||||
| && project.shouldBuildStandalone().getValue() && target.type == Target::StandalonePlugIn) | && project.shouldBuildStandalone().getValue() && target.type == Target::StandalonePlugIn) | ||||
| embedAppExtension(); | embedAppExtension(); | ||||
| @@ -1661,11 +1661,8 @@ private: | |||||
| v->setProperty ("isa", target.type == Target::AggregateTarget ? "PBXAggregateTarget" : "PBXNativeTarget", nullptr); | v->setProperty ("isa", target.type == Target::AggregateTarget ? "PBXAggregateTarget" : "PBXNativeTarget", nullptr); | ||||
| v->setProperty ("buildConfigurationList", createID (String ("__configList") + targetName), nullptr); | v->setProperty ("buildConfigurationList", createID (String ("__configList") + targetName), nullptr); | ||||
| if (target.type != Target::AggregateTarget) | |||||
| { | |||||
| v->setProperty ("buildPhases", indentParenthesisedList (target.buildPhaseIDs), nullptr); | |||||
| v->setProperty ("buildRules", "( )", nullptr); | |||||
| } | |||||
| v->setProperty ("buildPhases", indentParenthesisedList (target.buildPhaseIDs), nullptr); | |||||
| v->setProperty ("buildRules", "( )", nullptr); | |||||
| v->setProperty ("dependencies", indentParenthesisedList (getTargetDependencies (target)), nullptr); | v->setProperty ("dependencies", indentParenthesisedList (getTargetDependencies (target)), nullptr); | ||||
| v->setProperty (Ids::name, target.getXCodeSchemeName(), nullptr); | v->setProperty (Ids::name, target.getXCodeSchemeName(), nullptr); | ||||