'Xcode complain “+[NSString stringWithUTF8String:]: NULL cString” error when enable Address Sanitizer

There are so many such errors in project, can i set any ASAN_OPTIONS at Environment Variables to tell Address Sanitizer do disable check error like this



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source