Swiftpack.co - Package - highmobility/hm-utilities-swift

What is in this repository

HMUtilities source code in Swift, that can be made into a framework by swift build (macOS and Linux only), or through Xcode. Using the latter allows additionally to build for iOS, tvOS or watchOS.

In addition, if using this as a dependency with Swift Package Manager, the suitable architecture is handled by Xcode.

Framework Usage

For iOS, it's recommended to build the universal framework - thus enabling running on a simulator as well.
There's an AppStoreCompatible.sh script for thinning the framework before submission to iTC.

For macOS and Linux, executing swift build and using the product is recommended (use the --show-bin-path option to get the output path).

For other Apple platforms, the universal framework can be made with lipo from Xcode's simulator and device products. When creating a universal one, the module maps need to be copied as well.


Stars: 0
Help us keep the lights on


Used By



1.2.0 - Nov 6, 2018

Renamed DebugTree to HMDebugTree.

1.1.1 - Sep 27, 2018

Added .bytes accessor for Double to get IEE 754 bytes. Added binary initialiser for FixedWidthInteger types (i.e. UInt16 can be initialised with 2 bytes, UInt32 with 4 and so forth).

1.1.0 - Aug 21, 2018

Updated to Swift 4.2

1.0.3 - Jun 15, 2018

Ignores whitespace when converting a hex string to bytes.

1.0.2 - May 11, 2018

Added DebugTree.