Error ITMS-90206 Invalid bundle contains disallowed file 'Frameworks'

I faced the same problem while trying to upload from Xcode 9.3 This happened because I added 'use_frameworks' in my OneSignal NotificationServiceExtension

enter image description here

The value Always Embed Swift Standard Libraries found in Build Settings should be set to Yes only for you main Projects and not for your custom frameworks or extensions.


I solved the problem

Firstly, set into Build Settings

  • For main project (here XXX) : Embedded Content Contains Swift Code to YES

  • Custom Framework (SharedXXX) : Embedded Content Contains Swift Code to NO

  • Custom Framework (SharedXXX) : Runpath Search Path = @executable_path/../../Frameworks

This helped me solving that issue