Browse Source

Xcode: Add special case for file type extension map for .xcassets

Gusts Kaksis 5 years ago
parent
commit
dc0898205c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Source/cmGlobalXCodeGenerator.cxx

+ 3 - 0
Source/cmGlobalXCodeGenerator.cxx

@@ -1020,6 +1020,9 @@ std::string GetSourcecodeValueFromFileExtension(
   } else if (ext == "dylib") {
     keepLastKnownFileType = true;
     sourcecode = "compiled.mach-o.dylib";
+  } else if (ext == "xcassets") {
+    keepLastKnownFileType = true;
+    sourcecode = "folder.assetcatalog";
   }
   // else
   //  {