Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#1,085 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 5 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp, macos, objective-c
領域
build-system

調査の方向性

まず、プライベートサブモジュールなしで MacOS ビルドを再現し、libmat.a 内の ODWLogger.mm から ODWPrivacyGuard への参照を調査します。1DS SDK が正常にリンクされ、プライベートサブモジュールを必要とせずにサンプルイベントを送信できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
C
スター
102
フォーク
66
平均マージ
5日 14分
マージ済み PR(30日)
9

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/cpp_client_telemetry のほかの issue

microsoft/cpp_client_telemetry の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。