Browse Source

Introjucer: fixed bundle identifier generation.

tags/2021-05-28
jules 13 years ago
parent
commit
18e07fcd95
2 changed files with 5 additions and 1 deletions
  1. +1
    -0
      extras/Introjucer/Source/Project/jucer_NewProjectWizard.cpp
  2. +4
    -1
      extras/Introjucer/Source/Project/jucer_Project.cpp

+ 1
- 0
extras/Introjucer/Source/Project/jucer_NewProjectWizard.cpp View File

@@ -403,6 +403,7 @@ Project* NewProjectWizard::runWizard (Component* ownerWindow_,
{
project->setFile (projectFile);
project->setTitle (appTitle);
project->getBundleIdentifier() = project->getDefaultBundleIdentifier();
if (! initialiseProject (*project))
return nullptr;


+ 4
- 1
extras/Introjucer/Source/Project/jucer_Project.cpp View File

@@ -123,6 +123,9 @@ void Project::setMissingDefaultValues()
if (! projectRoot.getChildWithName (Tags::modulesGroup).isValid())
addDefaultModules (false);
if (getBundleIdentifier().toString().isEmpty())
getBundleIdentifier() = getDefaultBundleIdentifier();
}
void Project::updateOldStyleConfigList()
@@ -366,7 +369,7 @@ void Project::createPropertyEditors (PropertyListBuilder& props)
}
props.add (new TextPropertyComponent (getBundleIdentifier(), "Bundle Identifier", 256, false),
"A unique identifier for this product, mainly for use in Mac builds. It should be something like 'com.yourcompanyname.yourproductname'");
"A unique identifier for this product, mainly for use in OSX/iOS builds. It should be something like 'com.yourcompanyname.yourproductname'");
getProjectType().createPropertyEditors (*this, props);


Loading…
Cancel
Save