I have tried setting it in the xcode project, in the schema. Go to schema, edit schema, select Arguments and add enviromental variable
I disable the ODR in Xcode via Enviromental Variables, as the following:
The name field is ASAN_OPTIONS, The value field is detect_odr_violation=0.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: