Luis Padron
Luis Padron
For this recent case I don't believe there was any Xcode switching involved
Yeah I don't really know either, personally never run into it. From the errors we've seen it's the debug_settings file but I haven't been able to look deeper at the...
@sanju-naik could you contribute a fix since it looks like you've figured out the root cause here. Let us know how we can help
I agree that 3 - 4 just mean using those targets in the product you're building, more info on what kind of product would help.
This can be closed now right? Thank you for implementing!
As far as I understand [--enable_platform_specific_config](https://bazel.build/reference/command-line-reference#flag--enable_platform_specific_config) is for the **host** machine not the specific platform target. You'd still need to use `--apple_platform_type=ios` if you want to build `swift_library` for iOS...
Also FWIW in Bazel 7 you should not need the flags you listed in the `.bazelrc` (that was only required for Bazel 6): ``` build --enable_platform_specific_config build:macos --apple_crosstool_top=@local_config_apple_cc//:toolchain build:macos --crosstool_top=@local_config_apple_cc//:toolchain...
Added an example repo and example in: https://github.com/cgrindel/rules_swift_package_manager/pull/1261
I'll need to update this because we do want to dedupe some attrs (like deps) across configs/defaults but not copt. Going to look at making a new method for this
@cgrindel this should be ready now, I updated the PR description and the example in #1261 that can be added after this merges.