macOS 15.0 24A5331b seems to have a weird issue that CFStringCreateWithBytesNoCopy does not return NSTaggedPointerString instance for the first call. This issue is fixed in macOS 15.1 but we need to workaround it for macOS 15.0.
Related issues
Bug #20631: Build failure with Xcode 16 beta and macOS 15 (Sequoia) Beta
[Bug #20631] Workaround for macOS 15.0 fork crash
macOS 15.0 24A5331b seems to have a weird issue that
CFStringCreateWithBytesNoCopydoes not returnNSTaggedPointerStringinstance for the first call. This issue is fixed in macOS 15.1 but we
need to workaround it for macOS 15.0.