From dc0898205c7fcebcb5224ba3eb6dd95c05193bdd Mon Sep 17 00:00:00 2001 From: Gusts Kaksis Date: Wed, 19 Aug 2020 18:43:19 +0300 Subject: Xcode: Add special case for file type extension map for .xcassets --- Source/cmGlobalXCodeGenerator.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 27fbab2..1e44620 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/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 // { -- cgit v0.12