This is on the latest master branch. bazel build //tests/ios/xcframeworks/Basic:xcframeworks is failing with the following error.
tests/ios/xcframeworks/Basic/Sources/Foo.swift:6:16: error: cannot find 'FooDynamic' in scope
let foo1 = FooDynamic(num: 9000)
^~~~~~~~~~
tests/ios/xcframeworks/Basic/Sources/Foo.swift:9:16: error: cannot find 'FooStatic' in scope
let foo2 = FooStatic(num: 9000)
^~~~~~~~~
Target //tests/ios/xcframeworks/Basic:xcframeworks failed to build
Similarly, bazel build //tests/ios/xcframeworks/Basic:XCFrameworksApp fails on M1 laptop or with --cpu=ios_sim_arm64 option.
ld: 14 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error in child process '/usr/bin/xcrun'. 1
Target //tests/ios/xcframeworks/Basic:XCFrameworksApp failed to build