krokyze / FitKit

Flutter plugin for reading health and fitness data. Wraps HealthKit on iOS and GoogleFit on Android.
BSD 2-Clause "Simplified" License
98 stars 73 forks source link

App crush and Exited #27

Closed omarsherifs closed 4 years ago

omarsherifs commented 4 years ago

I can't run the example app ... App stop execution and print this message:

`Launching lib/main.dart on iPhone X in debug mode...
Xcode build done.                                           34.1s
    HKQuantityTypeIdentifierBodyMass,
    HKQuantityTypeIdentifierActiveEnergyBurned,
    HKQuantityTypeIdentifierStepCount,
    HKQuantityTypeIdentifierHeartRate,
    HKQuantityTypeIdentifierDistanceWalkingRunning,
    HKQuantityTypeIdentifierDietaryWater,
    HKQuantityTypeIdentifierHeight
)
Lost connection to device.
*** First throw call stack:
(
    0   CoreFoundation                      0x00000001080421bb __exceptionPreprocess + 331
    1   libobjc.A.dylib                     0x00000001075e0735 objc_exception_throw + 48
    2   CoreFoundation                      0x0000000108042015 +[NSException raise:format:] + 197
    3   HealthKit                           0x0000000106c26921 -[HKHealthStore _validateHealthDataPurposeStringsForSharingTypes:readingTypes:] + 785
    4   HealthKit                           0x0000000106c2642b -[HKHealthStore _validatePurp<…>
Exited (sigterm)`
omarsherifs commented 4 years ago

this error is of missing the version and build number