title: iOS code signing fails: "A sealed resource is missing or invalid."
body: <p>I have been with this problem already 8 hours unable to solve it.</p>
  
  <pre><code>Whats Cool JLD$ codesign -vvvv build/Distribution-iphoneos/Whats\ cool\?.app
  build/Distribution-iphoneos/Whats cool?.app: a sealed resource is missing or invalid
  /Users/JLD/Desktop/iOS Development/Whats Cool/build/Distribution-iphoneos/Whats
  cool?.app/Whats cool?: resource modified
  </code></pre>
  
  <p>I have tried the solutions posted on all these threads to no avail:</p>
  
  <ul>
  <li><a href="https://discussions.apple.com/thread/1590980" rel="noreferrer">https://discussions.apple.com/thread/1590980</a></li>
  <li><a href="https://discussions.apple.com/message/9167082" rel="noreferrer">https://discussions.apple.com/message/9167082</a></li>
  <li><a href="http://www.iphonedevsdk.com/forum/iphone-sdk-development/2256-application-failed-codesign-verification.html" rel="noreferrer">http://www.iphonedevsdk.com/forum/iphone-sdk-development/2256-application-failed-codesign-verification.html</a></li>
  <li><a href="https://forums.macrumors.com/threads/entitlements-plist.584209/" rel="noreferrer">https://forums.macrumors.com/threads/entitlements-plist.584209/</a></li>
  <li><a href="https://stackoverflow.com/questions/2272863/how-to-solve-application-failed-codesign-verification-when-uploading-to-itunes">How to solve &quot;Application failed codesign verification&quot; when uploading to iTunes Connect?</a></li>
  </ul>
  
  <p>I even tried recreating the whole project again redoing all the IB connections and nothing works! It builds everything, but it is unable to code sign it! So I'm unable to upload it through the AppLoader.</p>
  
  <p>I am doing all these following the instructions found at the provisioning profile on the Distribute application page.</p>
  
  <ul>
  <li><a href="https://developer.apple.com/ios/manage/distribution/index.action" rel="noreferrer">https://developer.apple.com/ios/manage/distribution/index.action</a></li>
  </ul>
  
  <p>I even tried building from another Mac. I have my distribution profile and my distribution certificate both set to WildCard. But it still doesn't work. I made a new app under a different name with another Bundle ID to no avail. I don't know what to try anymore!
  Thank you future problem solver! I know you are there so come to my aid, I'll thank you forever!</p>
  
  <p><strong>UPDATE:</strong> I tried to make the new project from scratch. Copying the source code and remaking all the connections on IB to no avail. I even followed this link with instructions: </p>
  
  <ul>
  <li><a href="http://techiechok.com/2009/03/30/resolving-iphone-code-signing-error/" rel="noreferrer">http://techiechok.com/2009/03/30/resolving-iphone-code-signing-error/</a></li>
  </ul>
  
  <p>Unsuccessful. I don't know what else to do. I'm even considering using one technical incident to solve this problem once and for all.</p>