title: I get conflicting provisioning settings error when I try to archive to submit an iOS app
body: <p>Now I'm trying to Product&gt;Archive my iOS app to submit. However, I am getting following errors:</p>
  <blockquote>
  <p>AppName has conflicting provisioning settings. AppName is automatically signed for development, but a conflicting code signing identity iPhone Distribution has been manually specified. Set the code signing identity value to <code>iPhone Developer</code> in the build settings editor, or switch to manual signing in the project editor.`</p>
  <p>Code signing is required for product type 'Application' in SDK 'iOS 10.1'`</p>
  </blockquote>
  <p>The situation won't change even those I've retry a whole process to recreate iOS certificates or provisioning profile.</p>
  <p>I was setting as <code>iOS Distribution</code> in <code>TARGETS &gt; Code Signing Identity &gt; Release &gt; Any iOS SDK</code>. When I changed the setting as <code>iOS Developer</code> here, and changed the setting in <code>PROJECTS &gt; Code Signing Identity &gt; Release &gt; Any iOS SDK</code> as <code>iOS Distribution</code>, I've succeeded in archiving. I'm wondering is it necessary to set as <code>iOS Distribution</code> in the target editor or not. And if it's mandatory, please someone let me know how can I work around this error.</p>
  <p>My XCode version is 8.1.</p>