1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Introjucer: Xcode prebuild script fix.

This commit is contained in:
jules 2013-02-03 13:37:36 +00:00
parent 7686adb32f
commit e8cc7b1dd6

View file

@ -1151,6 +1151,11 @@ private:
ValueTree& addBuildPhase (const String& phaseType, const StringArray& fileIds) const
{
String phaseId (createID (phaseType + "resbuildphase"));
int n = 0;
while (buildPhaseIDs.contains (phaseId))
phaseId = createID (phaseType + "resbuildphase" + String (++n));
buildPhaseIDs.add (phaseId);
ValueTree* v = new ValueTree (phaseId);