title: The bundle at … contains disallowed file 'Frameworks'
body: <p>I'm trying to deploy a .dylib library wrapped in a framework, and I'm experiencing the following issue: 'ERROR ITMS-90206: "Invalid Bundle. The bundle at X.app/Frameworks/PoemsRecommender.framework' contains disallowed file 'Frameworks'."</p>
  
  <p>It looks like there's a framework nested in a framework: 
  <a href="https://i.stack.imgur.com/1sx0l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1sx0l.png" alt="shared"></a></p>
  
  <p>Things I tried:</p>
  
  <ul>
  <li>Remove "Frameworks" folder in the "Run Script" phase (it actually helps with submission but the app crashes because it can't find the dylib which is in the Frameworks folder)</li>
  <li>Change "Frameworks" to "Shared Frameworks" in "Embed Frameworks"</li>
  <li>Disable "Always Embed Swift.."</li>
  </ul>