Commit 5dd9615
authored
fix: add apple_support to create_example template (#1075)
Without this change I was getting the following error when creating new
examples:
```
ERROR: /private/var/tmp/_bazel_johnflanagan/16c78d03b601ed18f3b30c014db2ef6d/external/rules_swift~~non_module_deps~build_bazel_rules_swift_local_config/BUILD:9:22: in xcode_swift_toolchain rule @@rules_swift~~non_module_deps~build_bazel_rules_swift_local_config//:toolchain:
Traceback (most recent call last):
File "/private/var/tmp/_bazel_johnflanagan/16c78d03b601ed18f3b30c014db2ef6d/external/rules_swift~/swift/internal/xcode_swift_toolchain.bzl", line 555, column 29, in _xcode_swift_toolchain_impl
target_triples.parse(cc_toolchain.target_gnu_system_name),
File "/private/var/tmp/_bazel_johnflanagan/16c78d03b601ed18f3b30c014db2ef6d/external/rules_swift~/swift/internal/target_triples.bzl", line 134, column 13, in _parse
fail("Invalid target triple: {}, this likely means you're using the wrong CC toolchain, make sure you include apple_support in your project".format(triple_string))
Error in fail: Invalid target triple: local, this likely means you're using the wrong CC toolchain, make sure you include apple_support in your project
```1 parent 571cb40 commit 5dd9615
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
0 commit comments