title: No profile for team 'RGNG4KKEAN' matching 'PD_Prod_18_March' found:
body: <blockquote>
    <p>Showing Recent Messages
    :-1: No profile for team 'RGNG4KKEAN' matching 'PD_Prod_18_March' found: Xcode couldn't find any provisioning profiles matching 'RGNG4KKEAN/PD_Prod_18_March'. Install the profile (by dragging and dropping it onto Xcode's dock item) or select a different one in the General tab of the target editor. (in target 'PocketDeals')</p>
  </blockquote>
  
  <p>I have taken over a project from a developer for a client. I am unable to release the iOS app due to this above issue. I found it difficult to find a solution due to most people having a different circumstance (first time building an app, etc).</p>
  
  <ul>
  <li><p>Under signing in the build setting tabs I have changed to the correct
  information. </p></li>
  <li><p>I have attached my Developer Apple ID under accounts in the<br>
  preferences window</p></li>
  <li><p>Additionally I have tried restarting Xcode after making these<br>
  changes.  </p></li>
  <li><p>I am able to build to simulator but not to my own device.</p></li>
  <li><p>Tried this in terminal</p>
  
  <blockquote>
    <p>rm ~/Library/MobileDevice/Provisioning\ Profiles/*.mobileprovision</p>
  </blockquote></li>
  </ul>
  
  <p>Now trying this post which sounds similar</p>
  
  <p><a href="https://stackoverflow.com/questions/5291463/xcode-wont-recognize-my-new-provisioning-profile">Xcode won&#39;t recognize my new provisioning profile</a></p>
  
  <p>By following the link I was able to manually edit RGNG4KKEAN out of Xcode. I now have it just down this problem..</p>
  
  <blockquote>
    <p>Showing Recent Messages
    :-1: PocketDeals has conflicting provisioning settings. PocketDeals is automatically signed, but provisioning profile PD_Prod_18_March has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor, or switch to manual signing in the project editor. (in target 'PocketDeals')</p>
  </blockquote>
  
  <p><strong>FINAL EDIT:</strong>
  I have finally solved this myself, I eventually got automatic signing to work. The big thing was pulling out a different project and comparing information, not sure which thing finally allowed my app to build on my real phone. I removed all traces of the old provisioning file, corrected package names, set debug to the correct settings, etc.</p>