If you need to exclude files from your desktop build you may use excludeFiles key in build.settings, but sometimes it does not work properly keeping some folders. There is a solution: just add a wildcard character (asterisk) after a name of a folder. For instance, if you add ‘Images.xcassets’ to your settings then this folder will be included in your build’s resources, but if you change it to ‘Images.xcassets*’ then the folder will be succesfully excluded. Here is an example of the settings to exclude some Androind/iOS related files from a win32 build:
excludeFiles =
{
win32 = { “Icon*.png”,“Launch*.png”,“Default*.png”,“AndroidResources*”,“Images.xcassets*” },
},