Unable to build with Sentry packaged in: Building for iOS, but the embedded framework 'Sentry.framework' was built for iOS + iOS Simulator

I am trying to build ios with the ionic framework and I get this error: “Building for iOS, but the embedded framework ‘Sentry.framework’ was built for iOS + iOS Simulator”

I am able to bypass this in XCode GUI by setting Validate Workspace, but it doesn’t work when using the Ionic Framework. Does anyone know if Sentry is no longer compatible with the Ionic Framework build process?