I have two targets in XCode
. These are two products based on the same code base but some graphics are different. It's like white labeling. The images are stored in an xcassets
folder. How do I localize this? Either localizing for a language or localizing per target is fine with me as the white labeling is per language actually.
I have checked in xcassets
but I don't see an option to localize any image.
update: i think one way i could accomplish this is to create a new xcassets folder for my target so it might be called images-mytarget.xcassets. then in the target build phase i could alter the xcassets folder in the 'copy bundle resources' area to use my targets xcassets. I was able to do this successfully. This differentiates xcassets per target. resolved.