Bundle structure error in XCode

keep on getting this error when trying to upload to App Store Connect. app builds and runs fine otherwise. tried re-installing package, changing target, etc. nothing working.

Validation failed
Invalid bundle structure. The “LIFTR.app/Frameworks/DotLottiePlayer.framework/Versions/A/DotLottiePlayer” 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: f7ce3402-7a45-4cbe-ac6a-4a69fe619d5c)

Running into the same issue as well. Did you find a solution?