EddyVerbruggen / HealthKit

Cordova plugin for the iOS HealthKit framework
MIT License
168 stars 216 forks source link

0.5.6 => ** BUILD FAILED ** #102

Open anibalsanchez opened 6 years ago

anibalsanchez commented 6 years ago

Hi,

In an App without no changes, the build has failed with v0.5.6. The build with 0.5.5 works fine.

This is the error output:

** BUILD FAILED **

The following build commands failed:
    CompileC /Users/MYUSER/Library/Developer/Xcode/DerivedData/My_App-gzxhvupqnglwumciqchbrjmrzoci/Build/Intermediates.noindex/My\ App.build/Debug-iphonesimulator/My\ App.build/Objects-normal/x86_64/HealthKit.o My\ App/Plugins/com.telerik.plugins.healthkit/HealthKit.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
(node:2374) UnhandledPromiseRejectionWarning: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/MYUSER/Documents/My-Project/platforms/ios/cordova/build-debug.xcconfig,-workspace,My Project.xcworkspace,-scheme,My Project,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone X,build,CONFIGURATION_BUILD_DIR=/Users/MYUSER/Documents/My-Project/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/MYUSER/Documents/My-Project/platforms/ios/build/sharedpch
(node:2374) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2374) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
EddyVerbruggen commented 6 years ago

Do you build with Xcode 10?

anibalsanchez commented 6 years ago

Xcode 9.4.1

EddyVerbruggen commented 6 years ago

I mean, I've merged a nice PR that -I think- requires you to build with Xcode 10. Can you try it?

anibalsanchez commented 6 years ago

I will test it. Sure, that's the issue.