I need to populate different Info.plists for iOS Device & Simulator schemes for the same target. How do I achieve it? The problem is as following: My application is voip therefore I need to add a UIBackgroundModes to Info.plist, but the problem is that when this property exists in the plist and I run the Simulator scheme, Simulator just stuck on the splash screen and I even pressing Home button doesn't do anything, Console doesn't show anything either. So I'd like to have one plist for Simulator scheme w/o UIBackgroundModes property and the second - with. I could do it with a shell script, but since the script is same for both schemes I don't know how to distinguish between them...
TIA