Error ITMS-90206 Invalid bundle contains disallowed file 'Frameworks' : <p>I have a problem uploading my application into the Store via Xcode, this one in particular.</p>

<p><a href="https://i.stack.imgur.com/g1hln.png" rel="noreferrer"><img src="https://i.stack.imgur.com/g1hln.png" alt="Invalid Bundle contains disallowed file frameworks"></a></p>

<p>I saw a lot of post about this error, but all are talking about <code>Extension App</code>, that I do not use.</p>

<p>I'm using a <code>Custom framework</code> and <code>Cocoapods</code>.</p>

<p>You can see here my tree :</p>

<p><a href="https://i.stack.imgur.com/mXagh.png" rel="noreferrer"><img src="https://i.stack.imgur.com/mXagh.png" alt="Tree Xcode Project Custom Framework"></a></p>

<ul>
<li><strong>XXX</strong> is my project app name</li>
<li><strong>SharedXXX</strong> is my <code>custom framework</code></li>
<li><strong>Pods</strong> is the project created by <code>cocoa pods</code></li>
</ul>

<p>Here is my cocoa <code>podFile</code> :</p>

<pre><code>use_frameworks!
link_with 'XXX', 'SharedXXX'
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.1'


workspace 'XXX'

xcodeproj 'XXX/XXX.xcodeproj'
xcodeproj 'Shared/SharedXXX.xcodeproj'

def default_pods
    pod 'Reveal-iOS-SDK', :configurations =&gt; ['Debug']
    pod "SnapKit", '~&gt; 0.17.0'
    pod "DKChainableAnimationKit", '~&gt; 1.6.0'
    pod "AsyncSwift"
end

def shared_pods
    pod "Alamofire", '~&gt; 3.0'
    pod 'SwiftyJSON', :git =&gt; 'https://github.com/SwiftyJSON/SwiftyJSON.git'
    pod 'ReachabilitySwift', :git =&gt; 'https://github.com/ashleymills/Reachability.swift'
end

target :XXX do
    xcodeproj 'XXX/XXX.xcodeproj'
    default_pods
    shared_pods
end

target :XXXDev do
    xcodeproj 'XXX/XXX.xcodeproj'
    default_pods
    shared_pods
end

target :SharedXXX do
    xcodeproj 'Shared/SharedXXXX.xcodeproj'
    shared_pods
end
</code></pre>

<p>Build settings for <code>custom framework</code> (<strong>SharedXXX</strong>) :</p>

<p><a href="https://i.stack.imgur.com/XE6Wl.png" rel="noreferrer"><img src="https://i.stack.imgur.com/XE6Wl.png" alt="Custom Framework build settings"></a></p>

<p>I set the Embedded property to <code>Yes</code></p>

<p>General Settings for <code>custom framework</code> (<strong>SharedXXX</strong>) :</p>

<p><a href="https://i.stack.imgur.com/Yk639.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Yk639.png" alt="Custom Framework General Settings"></a></p>

<p>The framework provided by Cocoapods is linked.</p>

<p>And to finish,</p>

<p>The General Settings to the main project (App Project : called <strong>XXX</strong> on the tree)</p>

<p><a href="https://i.stack.imgur.com/J7oGg.png" rel="noreferrer"><img src="https://i.stack.imgur.com/J7oGg.png" alt="Main project"></a>:</p>

<p>Any idea ?</p>
