The Distribution failed with errors when we are trying to upload new build on TestFlight

The Distribution failed with errors when we are trying to upload new build on TestFlight Xcode Version 14.1

Asset validation failed (90205) Invalid Bundle. The bundle at 'meme_therappy.app/Frameworks/BeamAISDK.framework' contains disallowed nested bundles. (ID: ea81b1a9-ba99-45a6-9780-aead84da6e80)

Asset validation failed (90206) Invalid Bundle. The bundle at 'meme_therappy.app/Frameworks/BeamAISDK.framework' contains disallowed file 'Frameworks'. (ID: 0917af78-5c36-4b5b-b214-2b2d7ce9cb91)

Asset validation failed (90171) Invalid bundle structure. The “meme_therappy.app/Frameworks/BeamAISDK.framework/Frameworks/Pods_BeamAISDK.framework/Pods_BeamAISDK” binary file is not permitted. Your app cannot contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. For details, visit: https://developer.apple.com/documentation/bundleresources/placing_content_in_a_bundle (ID: 8562f1a9-ff94-411d-8196-6dab789a1721)

The Distribution failed with errors when we are trying to upload new build on TestFlight
 
 
Q