Describe the bug, including details regarding any error messages, version, and platform.
The FlatBuffers files need to be compiled to match the runtime. The generated files look for the version marker and won't compile.
static func validateVersion() { FlatBuffersVersion_25_2_10() }
There's a second issue, which is the reason I didn't use v25.9.23 in #93 - it introduces a breaking change.
I suggest we compile for FlatBuffers v25.2.10 or later. Latest v25.9.23 introduces another issue in that allowReadingUnalignedBuffers is no longer supported on ByteBuffers #92
allowReadingUnalignedBuffers is no longer supported. This API is used in a few places, for example:
var footerBuffer = ByteBuffer(
data: footerData,
allowReadingUnalignedBuffers: useUnalignedBuffers
)
I'm not sure why CI is not picking this up.
Describe the bug, including details regarding any error messages, version, and platform.
The FlatBuffers files need to be compiled to match the runtime. The generated files look for the version marker and won't compile.
static func validateVersion() { FlatBuffersVersion_25_2_10() }There's a second issue, which is the reason I didn't use v25.9.23 in #93 - it introduces a breaking change.
allowReadingUnalignedBuffersis no longer supported. This API is used in a few places, for example:I'm not sure why CI is not picking this up.