Invalid Bundle, The bundle contains disallowed nested bundles, contains disallowed file 'Frameworks'

Related searches

I added a shared framework to share code between app and watch extension. Later I removed the shared framework since it cause lots of problems. I can build and run my app on iphone and watch. However when I submit to app store, I see these two errors:

ERROR ITMS-90205: "Invalid Bundle. The bundle at 'xxx WatchKit Extension.appex' contains disallowed nested bundles."

ERROR ITMS-90206: "Invalid Bundle. The bundle at 'xxx WatchKit Extension.appex' contains disallowed file 'Frameworks'."

I have tried all the solutions mentioned on stackoverflow(this , this, this) None of them works for me. How do I fix the error? Errors message from apple really doesn't give a clue what I should to.


I still do not fully understand what causes the issue, but I've stumbled upon an answer that has finally solved the issue for me.

https://github.com/CocoaPods/CocoaPods/issues/4203

Specifically, the post by mikehouse on Oct 12, 2015 was the solution to the the problem.

Add the following run script to ALL you embedded extension targets. In my case I had to add the run script as a build phase to my Today extension and my Apple Watch App extension.

cd "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/"
if [[ -d "Frameworks" ]]; then 
    rm -fr Frameworks
fi

Invalid Bundle, The bundle contains disallowed nested bundles , I still do not fully understand what causes the issue, but I've stumbled upon an answer that has finally solved the issue for me. Re: How to fix "contains disallowed nested bundles" and "contains disallowed file 'Frameworks'" errors Level 1 (0 points) radhika_techie Dec 12, 2017 3:18 AM ( in response to leefw )


The above didn't work for me.

Embedded Content Contains Swift Code: NO

Didn't really do anything for me.

I experienced this issue using a dynamic framework. My dynamic framework contained other dynamic frameworks which made it OK to have:

Embedded Content Contains Swift Code: YES

And instead having the other dynamic frameworks set it to No instead. But instead of that I had to set

Always Embed Swift Standard Libraries: NO

under Build Phases.

Having this one set to YES generated the frameworks folder causing upload to ITC fail.

The bundle at 'MNCore.framework' contains disallowed file, framework' contains disallowed nested bundles. Invalid Bundle - The bundle at ' Mighty Networks Staging 4.app/Frameworks/MightybellCore. Validation Error: Invalid Bundle. The bundle at … contains disallowed file 'Frameworks' Validation Error: Invalid Bundle. The bundle at … contains disallowed nested bundles Both the app and the today extension are written in Swift. I've tried cleaning the project and deleting Xcode derived data but I'm still getting the same 2 errors. Any


The "ITMS-90206" error was resolved in this post: Validation Error: Invalid Bundle. The bundle at ... contains disallowed file 'Frameworks'

The setting needs to be changed from Yes to No within the Build options of your WatchKit Extension:

Embedded Content Contains Swift Code: No

Unable to Submit Build to appstore � Issue #3905 � CocoaPods , appex' contains disallowed nested bundles." ERROR ITMS-90206: "Invalid Bundle. The bundle at 'xxx Extension.appex' contains disallowed file '� Errors with Invalid Bundle - The bundle at 'MNCore.framework' contains disallowed file 'Frameworks'. and many more. #2292


I had a framework that builded with the following build settings:

Always Embed Swift Standard Libraries: YES

Allow Non-Modular includes in Framework Modules: YES

So I changed both to NO and build framework again.

Always Embed Swift Standard Libraries: NO

Allow Non-Modular includes in Framework Modules: NO

I added new build of framework to my project so It uploaded to iTunes Connect successfully.

Invalid Bundle, The bundle contains disallowed nested - iOS, Invalid Bundle, The bundle contains disallowed nested bundles, contains disallowed file 'Frameworks' - ios. I'm using Xcode 6.1 in my iOS 8 app with an included extension. The app and the extension both rely on an included framework. When I try to submit the app to the Store, the validation warning I get is "ERROR ITMS-9000: Invalid bundle. The bundle at 'xxxxx.appex' contains disallowed file 'Frameworks'". I can't even find a file called Frameworks.


I had a today extension which uses a custom framework I implemented it.

I tried all the solutions but nothing worked for me.

I needed the custom framework only in the today extension, so I linked and embedded this framework in the today extension only.

What the error is saying is:

that the bundle contains disallowed frameworks

Today extension should not embed any framework, shall only link to it.

So I removed the framework from the today extension and added it to the parent app.

Note that:

the parent app should use this framework since it's added to it, an import shall do the job.

I am trying to submit my app to the store, however I get two errors while doing so. ERROR ITMS-90205: "Invalid Bundle. The bundle at 'xxx Extension.appex' contains disallowed nested bundles."


It uses the setting from your .swift-version file if present (inspired by swiftenv). The --swift-version flag can be used to specify a version of Swift to use. This overrides the version set in the .swift-version file. Finally, iOS 10 makes some new extension and application types available.


New Issue Checklist [ ] Updated fastlane to the latest version [ ] I have read the Contribution Guidelines Issue Description Attempting to submit a new message extension to Testflight for testing.


I have a project using Xcode 6 with an embedded Framework target. For this target, I have one pod for it and have the use_frameworks! flag set in my Podfile. When I run pod install and then eventually submit to iTunes connect for test fl