title: Xcode Distribution Failed with Error: framework is not contained in a correctly named directory. It should be under "Frameworks"
body: <p>As I want to upload my app I get the following error messages, when I upload the app.</p>
  <p>I get the Crypto Swift Framework from the Swift Package Manager.</p>
  <p>Can someone help me here please? I don't know what to do right now.</p>
  <p>The error messages in text:</p>
  <pre><code>App Store Connect Operation Error
  ERROR ITMS-90680: &quot;Invalid directory. The bundle Payload/Healthya.app/PlugIns/CryptoSwift.framework is not contained in a correctly named directory. It should be under &quot;Frameworks&quot;.&quot;
  
  App Store Connect Operation Error
  ERROR ITMS-90685: &quot;CFBundleIdentifier Collision. There is more than one bundle with the CFBundleIdentifier value 'com.krzyzanowskim.CryptoSwift' under the iOS application 'Healthya.app'.&quot;
  
  App Store Connect Operation Warning
  WARNING ITMS-90806: &quot;CFBundleIdentifier collision. Each bundle must have a unique bundle identifier. The bundle identifier 'com.krzyzanowskim.CryptoSwift' is used in the bundles '[Payload/Healthya.app/Frameworks/CryptoSwift.framework, Payload/Healthya.app/PlugIns/CryptoSwift.framework]'&quot;
  </code></pre>