You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide the following information. The more we know about your system and use case, the more easily and likely we can help.
Description of the problem / feature request / question:
When invoking bazel build examples/ios/HelloWorldSwift --apple_generate_dsym on the rules_apple repository, the Linking action fails with the following message:
ERROR: /Users/kaipi/Development/Github/rules_apple/examples/ios/HelloWorldSwift/BUILD:18:1: output 'examples/ios/HelloWorldSwift/HelloWorldSwift.apple_binary.app.dSYM.temp.zip' was not created
ERROR: /Users/kaipi/Development/Github/rules_apple/examples/ios/HelloWorldSwift/BUILD:18:1: not all outputs were created or valid
I traced this to the provided crosstool missing the proper DSYM_HINT_DSYM_PATH, DSYM_HINT_DSYM_BUNDLE_ZIP and DSYM_HINT_LINKED_BINARY configurations for the generate_dsym_file feature.
If bazel info release returns "development version" or "(@non-git)", please tell us what source tree you compiled Bazel from; git commit hash is appreciated (git rev-parse HEAD):
Have you found anything relevant by searching the web?
We have the same issue in my organisation. We haven't found any workaround for now. The problem is not fixed with the latest 0.10.0-homebrew version. Any news? Thanks for your help :)
…is compiled as part of bazel's repository bootstrap. This should make crosstool's clang invocations faster. An added benefit of this is that wrapped_clang.cc supports the "DSYM_HINT" flags specified through the CROSSTOOL, so with this change, apple_binary gets support for the --apple_generate_dsym flag.
The dSYM generation issue has been flagged multiple times:
#4312#3940#3372
RELNOTES: apple_binary can now generate dSYM outputs with the --apple_generate_dsym=true flag.
PiperOrigin-RevId: 184688215
Please provide the following information. The more we know about your system and use case, the more easily and likely we can help.
Description of the problem / feature request / question:
When invoking
bazel build examples/ios/HelloWorldSwift --apple_generate_dsym
on the rules_apple repository, the Linking action fails with the following message:I traced this to the provided crosstool missing the proper
DSYM_HINT_DSYM_PATH
,DSYM_HINT_DSYM_BUNDLE_ZIP
andDSYM_HINT_LINKED_BINARY
configurations for thegenerate_dsym_file
feature.Original issue: bazelbuild/tulsi#38
If possible, provide a minimal example to reproduce the problem:
Check out the https://github.com/bazelbuild/rules_apple and run the command above.
Environment info
macOS 10.13
bazel info release
):release 0.8.1-homebrew
bazel info release
returns "development version" or "(@non-git)", please tell us what source tree you compiled Bazel from; git commit hash is appreciated (git rev-parse HEAD
):Have you found anything relevant by searching the web?
(e.g. StackOverflow answers,
GitHub issues,
email threads on the
bazel-discuss
Google group)N/A
Anything else, information or logs or outputs that would be helpful?
(If they are large, please upload as attachment or provide link).
N/A
The text was updated successfully, but these errors were encountered: