forked from BigfootDev/flatbuffers
* [swift] Add bazel configuration for Swift This change adds a simple bazel BUILD file for consuming the Swift support. This also bumps the platforms bazel repo to fix support for M1s and bazel 5.1+ https://github.com/bazelbuild/bazel/issues/15099#issuecomment-1075368289 The rules_swift inclusion here must happen before gRPC to ensure we don't pull in an older version. * Add CC=clang which is a requirement for Swift on Linux * Add Swift to PATH
FlatBuffers swift can be found in both SPM
.package(url: "https://github.com/mustiikhalil/flatbuffers.git", from: "X.Y.Z"),
and Cocoapods
pod 'FlatBuffers'
Notes
1- To report any error please use the main repository.
Contribute
1- Always run swift test --generate-linuxmain whenever new test functions are added or removed