Skip to content

Commit f1a2602

Browse files
kouraulcd
authored andcommitted
GH-44432: [Swift] Use flatbuffers v24.3.7 (#44433)
### Rationale for this change flatbuffers v24.3.7 includes google/flatbuffers#8134 . The current master has a build error: https://github.com/apache/arrow/actions/runs/11357784776/job/31591213976?pr=44431#step:5:1114 ```text [51/77] Compiling Arrow ArrowType.swift /arrow/swift/Arrow/Sources/Arrow/File_generated.swift:107:206: error: value of type 'Table' has no member 'postion' public var schema: org_apache_arrow_flatbuf_Schema? { let o = _accessor.offset(VTOFFSET.schema.v); return o == 0 ? nil : org_apache_arrow_flatbuf_Schema(_accessor.bb, o: _accessor.indirect(o + _accessor.postion)) } ~~~~~~~~~ ^~~~~~~ ``` ### What changes are included in this PR? Use v24.3.7 instead of master. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: #44432 Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
1 parent 6581434 commit f1a2602

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Arrow/Package.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,7 @@ let package = Package(
3131
targets: ["Arrow"])
3232
],
3333
dependencies: [
34-
// The latest version of flatbuffers v23.5.26 was built in May 26, 2023
35-
// and therefore doesn't include the unaligned buffer swift changes.
36-
// This can be changed back to using the tag once a new version of
37-
// flatbuffers has been released.
38-
.package(url: "https://github.com/google/flatbuffers.git", branch: "master"),
34+
.package(url: "https://github.com/google/flatbuffers.git", branch: "v24.3.7"),
3935
.package(
4036
url: "https://github.com/apple/swift-atomics.git",
4137
.upToNextMajor(from: "1.2.0") // or `.upToNextMinor

0 commit comments

Comments
 (0)