title: Right type of custom command to set Info.plist version number based on build type?
body: <p>I'm trying to set my application's version number based on the type of build (device/simulator or debug/release) so that I can sift crashes that are reported from developer builds out from crashes that I see on actual builds in the wild.</p>
  
  <p>I'm doing this by using a Post-build Custom Command, which has the problem that it modifies the plist file after the app bundle is signed, resulting in an app that I can't deploy to an actual device.</p>
  
  <p>It seems like if I did this as a Build step instead, it'd avoid that problem, but I fear that it might conflict with the plist merge step that I believe occurs somewhere in there.</p>
  
  <p>Is there any correct way to do this?</p>