Use g_assertion_message instead of exit to kill an iOS app.