Merge topic 'xcode-storyboard-file-type'
e361c3c Merge branch 'xcode-storyboard-file-type-2.8.12' into xcode-storyboard-file-type 93fc5a5 Xcode: Fix storyboard view 2d23c1f 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…
x
Reference in New Issue
Block a user