Cordova iOS archiving fails with several errors

Hey,
i just set up the cordova sentry sdk and it works fine on the simulators for iOS and Android.
But when i try to build my iOS App for upload the ipa verification fails with these errors:

This is even the case if i copy the build script where unused architectures are stripped from the framework from build phases into my archive scheme!

Any hints on how to make my app app store ready?

Ok i got it to work with this script:

https://www.legotechapps.com/fix-build-architectures

So… the builtin Sentry script unfortunately doesn’t work but this does.

Some people already reported this on Github:


Re-adding the plugin fixes it.
Not sure though why it happens in the first place, maybe upgrade from old version.