Skip to content

SentryObjC dynamic package is missing several symbols in x86_64 arch #8034

Description

@limbonaut

Hi, Cocoa team! 👋
I maintain Sentry's Godot Engine SDK, and just started working on SentryObjC integration in here:

I found an issue where not all symbols are available in x86_64 slice in the shipped dynamic framework bundle in 9.16.1 and 9.17.0 releases.

The error surfaces upon linking:

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_SentryObjCAttributeContent", referenced from:
       in cocoa_metric.os
  "_OBJC_CLASS_$_SentryObjCMetricValue", referenced from:
       in cocoa_metric.os
  "_OBJC_CLASS_$_SentryObjCUnit", referenced from:
       in cocoa_metric.os

These types are affected (maybe more): SentryObjCAttributeContent, SentryObjCUnit, SentryObjCMetric, SentryObjCMetricValue.

I didn't have a chance to look why this happens yet - documenting the issue here for posterity.

Important detail: Our floor is macOS 10.14 on x86_64 which happens to be the Cocoa's floor as well.

Reproduction project

Super-minimal repro project: mrp-sentryobjc-x86_64-link.zip

  • Xcode 26.0.1 (I don't think it will matter).
  • Download, then run repro.sh (after inspecting its contents ofc 😉).

Activity

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions