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

xcodebuild task doesn't fail build on compiler errors #214

Closed
max-potapov opened this issue Oct 9, 2015 · 0 comments
Closed

xcodebuild task doesn't fail build on compiler errors #214

max-potapov opened this issue Oct 9, 2015 · 0 comments
Labels
Milestone

Comments

@max-potapov
Copy link

steps to reproduce:

git clone https://github.com/max-potapov/GradleApp.git # download sample project
cd GradleApp && ./gradlew xcodebuild # run wrapper

log:

/Users/max/devel/GradleApp/GradleApp/ViewController.m:10:9: fatal error: 'BuildFailure.h' file not found
#import "BuildFailure.h"
        ^
1 error generated.

** BUILD FAILED **


The following build commands failed:
    CompileC build/obj/GradleApp.build/Debug-iphonesimulator/GradleApp.build/Objects-normal/i386/ViewController.o GradleApp/ViewController.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Done
:xcodebuild (Thread[main,5,main]) completed. Took 2.347 secs.
:keychainRemove (Thread[main,5,main]) started.
:keychainRemove
Executing task ':keychainRemove' (up-to-date check took 0.0 secs) due to:
  Task has not declared any outputs.
    "/Users/max/Library/Keychains/login.keychain"
    "/Library/Keychains/System.keychain"
:keychainRemove (Thread[main,5,main]) completed. Took 0.026 secs.

BUILD SUCCESSFUL

Total time: 5.725 secs

This build could be faster, please consider using the Gradle Daemon: http://gradle.org/docs/2.4/userguide/gradle_daemon.html
@renep renep added the bug label Oct 9, 2015
@renep renep added this to the 0.12.0 milestone Oct 16, 2015
@renep renep closed this as completed Oct 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants