Xcode: Reference '.xcassets' folders as assetcatalog (#15125)

This commit is contained in:
Brad King 2014-09-03 10:33:50 -04:00
parent 02aa5965e6
commit 8eacc3390a
1 changed files with 1 additions and 1 deletions

View File

@ -877,7 +877,7 @@ cmGlobalXCodeGenerator::CreateXCodeFileReferenceFromPath(
// (Xcode 4.6 does not like explicitFileType=folder).
if(cmSystemTools::FileIsDirectory(fullpath.c_str()))
{
fileType = "folder";
fileType = (ext == "xcassets"? "folder.assetcatalog" : "folder");
useLastKnownFileType = true;
}
else