Merge branch 'xcode-storyboard-file-type-2.8.12' into release
This commit is contained in:
commit
67fd61b061
|
@ -877,8 +877,10 @@ cmGlobalXCodeGenerator::CreateXCodeFileReferenceFromPath(
|
|||
}
|
||||
|
||||
std::string sourcecode = GetSourcecodeValueFromFileExtension(ext, lang);
|
||||
|
||||
fileRef->AddAttribute("explicitFileType",
|
||||
const char* attribute = (sourcecode == "file.storyboard") ?
|
||||
"lastKnownFileType" :
|
||||
"explicitFileType";
|
||||
fileRef->AddAttribute(attribute,
|
||||
this->CreateString(sourcecode.c_str()));
|
||||
|
||||
// Store the file path relative to the top of the source tree.
|
||||
|
|
Loading…
Reference in New Issue