Hi there, I’ve integrated Sentry into my Ionic app. All works fine locally testing through Chrome and when running on a device through Xcode. However, when I go to submit a production build of the app for testing through TestFlight I get this error in Xcode -
“Invalid Segment Alignment. The app binary at ‘myApp.app/Frameworks/Sentry.framework/Sentry’ does not have proper segment alignment. Try rebuilding the app with the latest Xcode version”.
“The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple’s linker.”
Does anyone have any ideas on how to resolve this?