With the newest Xamarin Studio (4.0.13) I'm trying to use asset catalogs in my app. The app has two different app icon sets: one for all test (Test.plist) and staging (Staging.plist) builds, and one for all pre-production (PreProduction.plist) and Production (Production.plist) builds. The test bundle contains NO app icons, since we want QA to be clear this is NOT the same as a production build.
I've already started doing a Pre-Build plist cp
step (not ideal; Xamarin Studio should support conditionally including files based on build config). Is there a way to conditionally bundle (build action ImageAsset
) the .appiconset
and .launchimage
specific to my build configuration? I've specified the relevant XSAppIconAssets
and XSLaunchImageAssets
, but since they're all marked ImageAsset
they all get copied in anyway, and (unfortunately) copied into the root folder where Springboard can find and display them.
Is there any way around this without:
Adding yet more Pre-Build
cp
ing to bundle the correct icon sets into one set which is the only one markedImageAsset
:cp iPhone/buildPlists/Staging-Info.plist Info.plist; cp -r Resources/Images.xcassets/TestAppIcons.appiconset/* Resources/Images.xcassets/AppIcons.appiconset; cp -r Resources/Images.xcassets/TestLaunchImages.launchimage/* Resources/Images.xcassets/LaunchImages.launchimage
Adding blank image files to theThis doesn't work, the order icon sets are copied to the output folder is undefinedTestAppIcons.appiconset
catalog?