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 😉).
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_64slice in the shipped dynamic framework bundle in9.16.1and9.17.0releases.The error surfaces upon linking:
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.14on x86_64 which happens to be the Cocoa's floor as well.Reproduction project
Super-minimal repro project: mrp-sentryobjc-x86_64-link.zip
repro.sh(after inspecting its contents ofc 😉).