My application's Info.plist
file has around 20/30 keys inside. An external SDK we're implementing requires its app key to be set in the Info.plist
, but requires separate keys for debug, enterprise distribution, and release schemes.
Is there a way I can create conditional additions to the Info.plist
without having to maintain three duplicates of the file (and duplicate all of the other keys, which are identical across all targets)?
Basically what I'd like is the base plist
exactly as it is now, then additional new -Debug
, -Distribution
and Release
ones, which just contain this new key. What I'm trying to avoid is repetition of all keys, since it will make adding new ones in future a hassle.
Is this possible?