title: xcrun error: Failed to read entitlements from
body: <p>So im trying to automate the build and archive process through a script.  In my script, I run the xcodebuild script and that builds fine.  Then I try to run the xcrun</p>
  
  <pre><code>/usr/bin/xcrun -sdk iphoneos PackageApplication "path_to_.app" -o "output_path" --sign "devname" --embed "provnprofile"
  </code></pre>
  
  <p>However I get this error:</p>
  
  <pre><code>error: Failed to read entitlements from '/var/folders/U5/U5q0xqZRG6SrO8AMQkMjeE+++TM/-Tmp-/fIcrdMUa76/Payload/MyApp.app'
  </code></pre>
  
  <p>Anyone have any ideas why?  </p>
  
  <p>Thanks in advance</p>