Skip to content

Build failing when trying to send event without using the private 1DS submodules on MacOS #1085

Description

@disinghal18

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions