Asserts are hit in production build causing crashes
I have several assert(condition, "message") statements in my project. They are used to check invariant conditions during development . I thought they would be ignored in production/release build (as stated in this answer ). They are not. Instead they cause crashes during TestFlight testing. When I comment asserts the app does not crash. Something usually gets wrong a bit but it does not crash. Can it be something with my build settings? All my archive schemes use release configuration: The asserts are in Cocoa Touch Framework project, that is used from custom keyboard extension. All the