orchetect / TimecodeKit

The definitive SMPTE timecode library for Swift.
MIT License
91 stars 8 forks source link

inlined Timecode.FrameCount.devimalValue.getter causing dyld[55992]: missing symbol called on Release builds #79

Closed ryanfrancesconi closed 2 months ago

ryanfrancesconi commented 2 months ago

Seeing this on release builds only (Xcode 16). Any ideas? I was using the older 1.x framework, but updated to the latest 2.0.11 and still see the same as well.

image image
ryanfrancesconi commented 2 months ago

(tried without disfavoredOverload, but no difference)

orchetect commented 2 months ago

I'll dig around and see what's causing it. Is this on macOS Sonoma or Sequoia?

orchetect commented 2 months ago

I can't seem to reproduce this in Xcode 16.0 (public release) and macOS Sequoia 15.0 (public release) on an M1 Max in a new app running as release build.

orchetect commented 2 months ago

TimecodeKit bundles its own copy of truncated(decimalPlaces:). Is there a chance there's a new compiler bug/quirk where it may be getting confused with OTCore or other app dependencies/modules?

orchetect commented 2 months ago

I was not able to reproduce this on macOS 14 or 15, using Xcode 16.

Digging a bit further, this seems to point to the issue:

https://forums.developer.apple.com/forums/thread/762711

Appears to be a bug in Xcode 16:

https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes#Foundation

ryanfrancesconi commented 2 months ago

This was a bug in xcode 16 RC, and looks like they fixed in the final release. Thanks!