kvs-coder / health_kit_reporter

A Flutter wrapper for the HealthKitReporter library
https://pub.dev/packages/health_kit_reporter
MIT License
36 stars 33 forks source link

Build error with latest version #45

Closed nohli closed 2 years ago

nohli commented 2 years ago

Describe the bug 'Correlation' has no member 'make':

    /Users/builder/programs/flutter_3_0_1/.pub-cache/hosted/pub.dartlang.org/health_kit_reporter-2.0.4/ios/Classes/Extensions+SwiftHealthKitReporterPlugin.swift:1482:42: error: type 'Correlation' has no member 'make'
                let sample = try Correlation.make(from: correlation)
                                 ~~~~~~~~~~~ ^~~~
    Command CompileSwiftSources failed with a nonzero exit code

To Reproduce Steps to reproduce the behavior:

  1. Add plugin version 2.0.4 to app
  2. Build app for iOS

Expected behavior Build succeeds

Desktop (please complete the following information):

Additional context Build log is from Codemagic.

kvs-coder commented 2 years ago

Hi @nohli

Please try to update via "pod update" the original HealthKitReportor cocoapod