I want to submit app on AppStore, My app is having swift speech SDK library, and project is in Obj C, Whenever I am trying to upload my build, I am getting this error,Invali
In my case was because I was using an Adhoc provisioning profile instead of a production one when I was trying to deploy to the App Store Connect.
Incase your project is having swift classes /library:, Please ensure below settings are as follows:
Project/Target settings -> build Settings
1. Defines Module -> YES
2. Always embed Swift Standard libraries -> YES
It solved my problem.