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

apple_binary.app.dSYM.temp.zip was not created #3940

Closed
thassss opened this issue Oct 20, 2017 · 7 comments
Closed

apple_binary.app.dSYM.temp.zip was not created #3940

thassss opened this issue Oct 20, 2017 · 7 comments
Labels
untriaged z-team-Apple Deprecated. Send to rules_apple, or label team-Rules-CPP + platform:apple

Comments

@thassss
Copy link

thassss commented Oct 20, 2017

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:

Hi I am exploring hazel to possibly use at my company. I am unable to build simple Swift iOS app. I have an ios_application target that depends on a swift_library, which contains my AppDelegate and RootViewController. I tried to set this up similar to the tutorial, but haven't been able to get it working. It seems that it's breaking on zipping the dSYM.

If possible, provide a minimal example to reproduce the problem:

My small workspace directory is attached.

this works: bazel build //app:bztest

this doesn't: bazel build --apple_generate_dsym=true //app:bztest

log:

INFO: Found 1 target...
ERROR: /bztest/app/BUILD:13:1: output 'app/bztest.apple_binary.app.dSYM.temp.zip' was not created.
ERROR: /bztest/app/BUILD:13:1: not all outputs were created or valid.
Target //app:bztest failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 5.175s, Critical Path: 3.07s

Environment info

  • Operating System: macOS 10.13
    • Xcode: 9.0

  • Bazel version (output of bazel info release): release 0.7.0-homebrew

  • 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?

(e.g. StackOverflow answers,
GitHub issues,
email threads on the [bazel-discuss](https://groups.google.com/forum/#!forum/bazel-discuss
bztest.zip
) Google group)

Anything else, information or logs or outputs that would be helpful?

(If they are large, please upload as attachment or provide link).

@dmishe
Copy link
Contributor

dmishe commented Oct 24, 2017

@c-parsons this looks familiar, have you seen this error before?

@jbeder
Copy link

jbeder commented Oct 25, 2017

Is this similar to #3372?

(I'm running into this too.)

@mikelikespie
Copy link
Contributor

Seeing this too (with master and 0.9.0)

@sergiocampama
Copy link
Contributor

#4312 has more info on what's missing in the CROSSTOOL

bazel-io pushed a commit that referenced this issue Feb 6, 2018
…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
@sergiocampama
Copy link
Contributor

This should be fixed at head, probably will take a while to get rolled out to a release binary.

@DmytroLapshyn
Copy link

0.11 still seems to have it not fixed

@jin jin added z-team-Apple Deprecated. Send to rules_apple, or label team-Rules-CPP + platform:apple untriaged labels May 6, 2020
@jmmv
Copy link
Contributor

jmmv commented May 14, 2020

Considering fixed per the last updates and because a lot of things have changed in the Apple rules. Please let us know if this is still a problem or relevant.

@jmmv jmmv closed this as completed May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged z-team-Apple Deprecated. Send to rules_apple, or label team-Rules-CPP + platform:apple
Projects
None yet
Development

No branches or pull requests