cpp_client_telemetry
cpp_client_telemetry copied to clipboard
Build failing when trying to send event without using the private 1DS submodules on MacOS
Describe your environment. Describe any aspect of your environment relevant to the problem, including your SDK version, platform, OS version, etc. If you're reporting a problem with a specific version of a library in this repo, please check whether the problem has been fixed on main brach.
Build failing when trying to send event without using the private submodules on MacOS. If we build 1DS library without the private submodules, build works correctly. But as soon as we try to integrate the code for sending event via 1DS, build fails with this error:
Undefined symbols for architecture x86_64: "OBJC_CLASS$_ODWPrivacyGuard", referenced from:
objc-class-ref in libmat.a(ODWLogger.mm.o)
Error gets fixed if we build 1DS with private submodules.
Steps to reproduce. Describe exactly how to reproduce the error. Include a code sample if applicable.
Build 1DS SDK on Mac without private submodules. Integrate the code for sending a sample event. Now the build will fail.
What is the expected behavior? What did you expect to see? 1DS SDK should be able to send events without the need for private submodules.
What is the actual behavior? What did you see instead?
Build failing with the error: Undefined symbols for architecture x86_64: "OBJC_CLASS$_ODWPrivacyGuard", referenced from:
objc-class-ref in libmat.a(ODWLogger.mm.o)
Additional context. Add any other context about the problem here.