Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Offen
#1,085 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
cpp, macos, objective-c
Bereich
build-system

Rechercherichtung

Beginne damit, den MacOS-Build ohne private Submodule zu reproduzieren, und untersuche die ODWLogger.mm-Referenz auf ODWPrivacyGuard in libmat.a. Erledigt ist die Aufgabe, wenn das 1DS SDK erfolgreich gelinkt wird und ein Beispielereignis senden kann, ohne private Submodule zu benötigen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

bug

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.

Vorherrschende Sprache
C
Sterne
104
Forks
67
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
10

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus microsoft/cpp_client_telemetry

Alle Issues in microsoft/cpp_client_telemetry

Ähnliche Issues

Weitere Issues zu C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.