Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

with_cfg is not compatible with rules_apple and rules_swift #122

Open
krypt-lx opened this issue Sep 27, 2024 · 0 comments
Open

with_cfg is not compatible with rules_apple and rules_swift #122

krypt-lx opened this issue Sep 27, 2024 · 0 comments

Comments

@krypt-lx
Copy link

Apparently, rules in this rule set do not support "/" in rule names

ERROR: /Users/krypt/repo/theapp/Modules/App/BUILD.bazel:45:19: in swift_library rule //Modules/App:test_module_2_/test_module_2: 
/private/var/tmp/_bazel_krypt/de9844abaa047ea4e0868fa95089f211/external/rules_swift~1.18.0/swift/internal/swift_library.bzl:104:5: The following files have no generating action:
Modules/App/libtest_module_2_/test_module_2.a
ERROR: /Users/krypt/repo/theapp/Modules/App/BUILD.bazel:45:19: Analysis of target '//Modules/App:test_module_2_/test_module_2' failed
ERROR: Analysis of target '//Modules/App:test_module_2' failed; build 

Observed this behaviour with swift_library and ios_application

@krypt-lx krypt-lx changed the title with_cfg is not compatible with rules_apple with_cfg is not compatible with rules_apple and rules_swift Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant