mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Fix the type of the iokit sandbox exception in the Xcode exporter
This commit is contained in:
parent
f0d147a470
commit
ef61128127
8 changed files with 197 additions and 42 deletions
|
|
@ -261,14 +261,6 @@ void Project::updateDeprecatedProjectSettings()
|
|||
exporter->updateDeprecatedSettings();
|
||||
}
|
||||
|
||||
void Project::updateDeprecatedProjectSettingsInteractively()
|
||||
{
|
||||
jassert (! ProjucerApplication::getApp().isRunningCommandLine);
|
||||
|
||||
for (ExporterIterator exporter (*this); exporter.next();)
|
||||
exporter->updateDeprecatedSettingsInteractively();
|
||||
}
|
||||
|
||||
void Project::initialiseMainGroup()
|
||||
{
|
||||
// Create main file group if missing
|
||||
|
|
@ -462,8 +454,8 @@ void Project::removeDefunctExporters()
|
|||
warningMessage << "\n"
|
||||
<< TRANS ("These exporters have been removed from the project. If you save the project they will be also erased from the .jucer file.");
|
||||
|
||||
auto options = MessageBoxOptions::makeOptionsOk (MessageBoxIconType::WarningIcon, warningTitle, warningMessage);
|
||||
messageBox = AlertWindow::showScopedAsync (options, nullptr);
|
||||
exporterRemovalMessageBoxOptions = MessageBoxOptions::makeOptionsOk (MessageBoxIconType::WarningIcon, warningTitle, warningMessage);
|
||||
messageBoxQueueListenerScope = messageBoxQueue.addListener (*this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1169,6 +1161,14 @@ void Project::valueTreeChildAddedOrRemoved (ValueTree& parent, ValueTree& child)
|
|||
changed();
|
||||
}
|
||||
|
||||
void Project::canCreateMessageBox (CreatorFunction f)
|
||||
{
|
||||
messageBox = f (*exporterRemovalMessageBoxOptions, [this] (auto)
|
||||
{
|
||||
messageBoxQueueListenerScope.reset();
|
||||
});
|
||||
}
|
||||
|
||||
void Project::valueTreeChildAdded (ValueTree& parent, ValueTree& child)
|
||||
{
|
||||
valueTreeChildAddedOrRemoved (parent, child);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue