Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#1,085 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 5 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp, macos, objective-c
Lĩnh vực
build-system

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện bản build MacOS mà không có các submodule riêng tư và kiểm tra tham chiếu từ ODWLogger.mm đến ODWPrivacyGuard trong libmat.a. Công việc được xem là hoàn tất khi 1DS SDK liên kết thành công và có thể gửi một sự kiện mẫu mà không yêu cầu các submodule riêng tư.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C
Star
102
Fork
67
Merge trung bình
5 ngày 5 giờ
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/cpp_client_telemetry

Tất cả issue của microsoft/cpp_client_telemetry

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.