Try this env parameter

"export MACOSX_DEPLOYMENT_TARGET=10.14"


> On Nov 15, 2018, at 11:23 AM, Ali Ahmed <a.ah...@streaml.io> wrote:
> 
> What’s the output for this.
> 
> xcrun --sdk macosx --show-sdk-version
> 
> 
> 
>> On Nov 15, 2018, at 11:06 AM, Dave Fisher <dave2w...@comcast.net> wrote:
>> 
>> Hi -
>> 
>> In testing and building the RC5 on macOS 10.14 I encountered some issues:
>> 
>> $ bazel build --config=darwin heron/...
>> WARNING: Processed legacy workspace file 
>> /Users/davewave/Development/heron/incubator-heron-v-0.20.0-incubating-candidate-5/tools/bazel.rc.
>>  This file will not be processed in the next release of Bazel. Please read 
>> https://github.com/bazelbuild/bazel/issues/6319 for further information, 
>> including how to upgrade.
>> Starting local Bazel server and connecting to it...
>> DEBUG: 
>> /private/var/tmp/_bazel_davewave/f2432422fcc701440a82a59536536f46/external/bazel_tools/tools/osx/xcode_configure.bzl:87:9:
>>  Invoking xcodebuild failed, developer dir: 
>> /Applications/Xcode8.app/Contents/Developer ,return code 256, stderr: 
>> Process terminated by signal 6, stdout: 
>> ERROR: 
>> /Users/davewave/Development/heron/incubator-heron-v-0.20.0-incubating-candidate-5/heron/api/src/java/BUILD:8:1:
>>  every rule of type java_doc implicitly depends upon the target 
>> '@local_jdk//:jdk-default', but this target could not be found because of: 
>> no such target '@local_jdk//:jdk-default': target 'jdk-default' not declared 
>> in package '' (did you mean 'jre-default'?) defined by 
>> /private/var/tmp/_bazel_davewave/f2432422fcc701440a82a59536536f46/external/local_jdk/BUILD.bazel
>> ERROR: Analysis of target '//heron/api/src/java:heron-api-javadoc' failed; 
>> build aborted: Analysis failed
>> INFO: Elapsed time: 9.642s
>> INFO: 0 processes.
>> FAILED: Build did NOT complete successfully (287 packages loaded)
>> 
>> I have several versions of Xcode on my system and I am not sure why Bazel is 
>> choosing the older Xcode 8?
>> 
>> I did
>> $ bazel clean --expunge
>> 
>> And now I’m getting different results. Any suggestions?
>> 
>> Regards,
>> Dave:
>> 
>> 
>> 
>> 
>> 
>> 
> 

Reply via email to