I have a single iOS target project which is used with dozen or so .xcconfig files to build multiple different apps. xcconfig file allows us to customise app icon, launch storyboard, API endpoints, bundle identifiers etc.
However, we also need to customise the .xcassets per configuration which I don't know how to do. I have Brandcolors.xcassets which needs to be different for each configuration. I can do this manually by changing target membership of certain files in the project based on active xcconfig/scheme.
Is there some (sane) way to do this automatically other than manually adjusting pbxproj in the run-script build phase?