title: no matter what keep getting "Application failed to code sign" error when trying to archive my app for submission to the app store
body: <p>i have tried EVERYTHING, looked through dozens of articles and repeatedly made sure my certs were valid and profiles were legitimate, but i keep getting this error</p>
  
  <p><strong>warning: Application failed codesign verification.  The signature was invalid, or it was                   not signed with an iPhone Distribution Certificate. (-19011)
  Executable=/Users/roozmahdavian/Library/Developer/Xcode/DerivedData/Chances-clvdkoglyqraiefynxcmcsaqgjwg/Build/Products/Release-iphoneos/Chances.app/Chances
  codesign_wrapper-0.7.10: using Apple CA for profile evaluation
  /Users/roozmahdavian/Library/Developer/Xcode/DerivedData/Chances-clvdkoglyqraiefynxcmcsaqgjwg/Build/Products/Release-iphoneos/Chances.app: valid on disk
  /Users/roozmahdavian/Library/Developer/Xcode/DerivedData/Chances-clvdkoglyqraiefynxcmcsaqgjwg/Build/Products/Release-iphoneos/Chances.app: satisfies its Designated Requirement
  test-requirement: code failed to satisfy specified code requirement(s)
  codesign_wrapper-0.7.10: failed to execute codesign(1)</strong></p>
  
  <p>what am i supposed to do to fix this? its getting very frustrating</p>