title: "object file format unrecognized, invalid, or unsuitable" Xcode error
body: <p>I don't see any reasons why this message should come at the end of the log:</p>
  
  <pre><code>/Users/Val/Library/Developer/Xcode/DerivedData/Mathematics-dzakmzlewrmgvibasvuixiwmkwwp/Build/Products/Debug-iphoneos/Mathematics.app: object file format unrecognized, invalid, or unsuitable
  Command /usr/bin/codesign failed with exit code 1    
  </code></pre>
  
  <p>How can I fix this error?<br>
  I am desperate, all my certificates and profiles are valid, the app itself has no bugs at all.</p>