Merge topic 'xcode-storyboard-file-type'
e361c3c
Merge branch 'xcode-storyboard-file-type-2.8.12' into xcode-storyboard-file-type93fc5a5
Xcode: Fix storyboard view2d23c1f
Xcode: Fix storyboard view
This commit is contained in:
commit
9551b85a90
|
@ -876,7 +876,10 @@ cmGlobalXCodeGenerator::CreateXCodeFileReferenceFromPath(
|
|||
else
|
||||
{
|
||||
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()));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue