title: Resigned IPA is not verified correctly by codesign
body: <p>I have an IPA file exported for development and I want to sign the IPA file using a valid enterprise certificate. Actually, I have gone through all the steps mentioned <a href="https://stackoverflow.com/questions/6896029/re-sign-ipa-iphone#">here</a> amd <a href="https://stackoverflow.com/questions/6896029/re-sign-ipa-iphone#">here</a> and used various available tools such as <a href="https://github.com/RichardBronosky/ota-tools" rel="nofollow noreferrer">ota-tools</a> and <a href="https://github.com/maciekish/iReSign" rel="nofollow noreferrer">iResign</a> to sign the file. </p>
  
  <p>The app is actually a very small swift app and only uses app groups and key-chain sharing capabilities and is developed by members of my enterprise team using the App ID and team identifier that we have defined using Xcode in our enterprise account.</p>
  
  <p>I have done the resigning process without any problem and the app is installed successfully on my iPhone. But it immediately crashes upon startup.</p>
  
  <p>So, I doubted the resigning process and did some checks. I tried to check the resigned IPA file using 'codesign -v' command but it says "code object is not signed at all".</p>
  
  <p>I also unzipped the IPA file did all the code-signing on the main app and Frameworks folder but still head no luck with codesign verification. it still says "code object is not signed at all".</p>
  
  <p>I would appreciate if someone can help me with this problem.</p>