How to debug "Invalid Bundle" error which happens only after submitting to app store
<p>I have a lot of frameworks in my app. App works fine in adhoc/enterprise release. Only if I submit to the app store for testflight testing I get this error email from apple:</p>

<blockquote>
  <p>Dear developer,</p>
  
  <p>We have discovered one or more issues with your recent delivery for "My app's name here". To process your delivery, the following
  issues must be corrected:</p>
  
  <p>Invalid Bundle - One or more dynamic libraries that are referenced by your app are not present in the dylib search path.</p>
  
  <p>Once these issues have been corrected, you can then redeliver the corrected binary.</p>
  
  <p>Regards,</p>
  
  <p>The App Store team</p>
</blockquote>

<p>there is no specific information here. How can I debug it? </p>