mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-17 00:44:19 +00:00
Introjucer: made the Xcode exporter delete .rsrc files to force a rebuild which can be needed to update the version number.
This commit is contained in:
parent
53314f8eda
commit
fce4188055
1 changed files with 9 additions and 0 deletions
|
|
@ -154,6 +154,9 @@ public:
|
|||
}
|
||||
|
||||
writeInfoPlistFile();
|
||||
|
||||
// Deleting the .rsrc files can be needed to force Xcode to update the version number.
|
||||
deleteRsrcFiles();
|
||||
}
|
||||
|
||||
protected:
|
||||
|
|
@ -608,6 +611,12 @@ private:
|
|||
overwriteFileIfDifferentOrThrow (infoPlistFile, mo);
|
||||
}
|
||||
|
||||
void deleteRsrcFiles() const
|
||||
{
|
||||
for (DirectoryIterator di (getTargetFolder().getChildFile ("build"), true, "*.rsrc", File::findFiles); di.next();)
|
||||
di.getFile().deleteFile();
|
||||
}
|
||||
|
||||
String getHeaderSearchPaths (const BuildConfiguration& config) const
|
||||
{
|
||||
StringArray paths (extraSearchPaths);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue