Enable obsolscent interface when compiling objective c code in mac os

-- When compiling weave objective c device manager in mac os, Unknown type name Inet buffer compilation issue happens, needs to enable obsolscent interface.
diff --git a/build/config/standalone/darwin/WeaveProjectConfig.h b/build/config/standalone/darwin/WeaveProjectConfig.h
index 23376de..8672bed 100644
--- a/build/config/standalone/darwin/WeaveProjectConfig.h
+++ b/build/config/standalone/darwin/WeaveProjectConfig.h
@@ -25,5 +25,6 @@
 
 #include "../WeaveProjectConfig.h"
 #define INET_CONFIG_OVERRIDE_SYSTEM_TCP_USER_TIMEOUT 0
-
+#define INET_CONFIG_PROVIDE_OBSOLESCENT_INTERFACES 1
+#define WEAVE_SYSTEM_CONFIG_PROVIDE_OBSOLESCENT_INTERFACES 1
 #endif /* WEAVEPROJECTCONFIG_H */