I've included screenshots of the full error messages I'm getting. This happens when I try and submit my app to iTunes Connect. I don't get any errors when running the app.


I had the exact same error for my application, and I was not able to find any reason from the information. The difference was, though, that I got it for all my .dll
files.
After some time, I saw that under IOS Bundle Signing
- Custom entitlements
it tried to point to a file that did not exist. I just removed that, and it stopped giving errors.
Not sure if it helps you too, but it worked for me.
This issue for me was caused by including the framework in the bundle. Ie, I was copying the .framework file into the app bundle. This isn't necessary as the framework is statically linked against the main app binary.
Most likely, you have a folder containing the .framework that you copied into your project (like an "external" or "ThirdParty"). That folder should not have membership to any target.
In your Frameworks folder itself, should be the actual .framework file with target membership for your app and "Required"
I too faced same issue,
Step 1: See while copying .Framework you had wrongly copied(dragged) the framework in GoogleMaps.bundle or some other .bundle extension.
Step 2: If some other framework is present in .bundle resource, if present then remove that framework if not at all required, else drag out of that .bundle.
Step 3: If .framework is not present, then check in all .bundle resource, if .framework is being present, if present then remove that framework if not at all required, else drag out of that .bundle.
Step 4: Then clean and build the project.
Not sure, if it helps you too, but it worked for me.
来源:https://stackoverflow.com/questions/28621297/iphone-app-submitting-error-itms-90171-invalid-bundle-structure-cant-contain