I need to fill out various Info.plists for iOS device diagrams and Simulator for the same purpose. How do I achieve this? The problem is this: my voip application so I need to add UIBackgroundModes to Info.plist, but the problem is that when this property exists in plist and I run the Simulator circuit, Simulator just got stuck on the splash screen and I even pressed the "Home" button Does nothing, the console does not show anything. Therefore, I would like to have one plist for the Simulator circuit without UIBackgroundModes, and the second with. I could do this with a shell script, but since the script is the same for both schemes, I don't know how to distinguish them ...
TIA
source share