title: 'Found an uxexpected Mach-O header code: 0x72613c21' when trying to export an archive to IPA.
body: <p>So I recently had this issue when deploying to my device:       </p>
  
  <pre><code>(null): error: bitcode_strip /Users/me/Library/Developer/Xcode/DerivedData/AppName-gximcjgdoodczthglfujqgpzamxl/Build/Products/Debug-iphoneos/Pods.framework/Pods: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip exited with 1
  </code></pre>
  
  <p>I didn't encounter this error when deploying to a simulator though.</p>
  
  <p>I found a solution <a href="https://forums.developer.apple.com/thread/12502">here</a> which says that I should set a user defined attribute 'STRIP_BITCODE_FROM_COPIED_FILES' to no. </p>
  
  <p>Since then, I now get "Found an uxexpected Mach-O header code: 0x72613c21" when trying to export an archive. </p>
  
  <p>Before the bitcode_strip issue, I was having no problem exporting archives so I'm wondering if the fix caused the current issue I'm facing, or if perhaps they are unrelated? If they are unrelated, what could actually be causing this? </p>
  
  <p><a href="http://pastebin.com/gnGq5ZQ2">here is the verbose IDEDistribution log</a></p>
  
  <p><a href="http://pastebin.com/3cUCRWRS">critical distribution log</a></p>
  
  <p><a href="http://pastebin.com/WwtpUJk4">standard distribution log</a></p>