title: Xcode build settings - Remove code from plist on production build
body: <p>In our project we have turned off HTTPS requests and send them as HTTP for internal testing against an API on my local machine. 
  To do this I added this code to the info.plist</p>
  
  <pre><code>&lt;key&gt;NSAppTransportSecurity&lt;/key&gt;
  &lt;dict&gt;
      &lt;key&gt;NSAllowsArbitraryLoads&lt;/key&gt;
      &lt;true/&gt;
  &lt;/dict&gt;
  </code></pre>
  
  <p>This allows the app to run with HTTP requests. Obviously this is bad for a live environment as well as unlikely to get app store approval; so I would like to set up code in our production build target to remove this offending code automatically lest we accidentally leave it in. I've done some searching around but can't seem to find any advice online. </p>