فهرست منبع

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

Gusts Kaksis 5 سال پیش
والد
کامیت
dc0898205c
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  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
   //  {