I am trying to upload build on AppStore using Xcode 13. But when I try to do so, I am getting the below error
Invalid Bundle Structure - The binary file 'MyApp.app/Frameworks/HHUnitConverter.framework/HHUnitConverter' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure.
When I archive the build and make it ready for upload, this is how my framework looks which is not correct I suppose
And when I click on upload, after sometime I am getting this error.
I have tried deleting and reinstalling the pods, restarting Xcode and the system, clearing derived data, but nothing works. Any help will be appreciated. Thanks in advance