Xcode: Reference '.xcassets' folders as assetcatalog (#15125)
This commit is contained in:
parent
02aa5965e6
commit
8eacc3390a
|
@ -877,7 +877,7 @@ cmGlobalXCodeGenerator::CreateXCodeFileReferenceFromPath(
|
||||||
// (Xcode 4.6 does not like explicitFileType=folder).
|
// (Xcode 4.6 does not like explicitFileType=folder).
|
||||||
if(cmSystemTools::FileIsDirectory(fullpath.c_str()))
|
if(cmSystemTools::FileIsDirectory(fullpath.c_str()))
|
||||||
{
|
{
|
||||||
fileType = "folder";
|
fileType = (ext == "xcassets"? "folder.assetcatalog" : "folder");
|
||||||
useLastKnownFileType = true;
|
useLastKnownFileType = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue