Skip to content

1.1.0

Choose a tag to compare

@github-actions github-actions released this 15 Sep 03:06
· 9 commits to main since this release
0df57fb

Changed

  • MeasurementKitLocation, MeasurementKitUI and MeasurementKitDefaults are dynamic library
    products, so each links the core rather than absorbing a copy of it. Consumers that build
    through Xcode need do nothing; a SwiftPM executable linking one of them now has a dynamic
    library to find at run time.

Fixed

  • A unit class is registered once per process rather than once per product linked. Linking two
    products that build on the core — MeasurementKit and MeasurementKitUI, say — used to give
    the process two registrations of every class the core declares, and two registrations of
    UnitSlope are two distinct classes to the Objective-C runtime. Comparing a measurement made
    against one with a measurement made against the other trapped in Foundation with "Attempt to
    compare measurements with non-equal dimensions" instead of converting.