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

Total: 0


1.4.4 - Sep 17, 2019

Updated for Xcode 11 GM2. Added XCFramework building script (and removed the "old" universal scripts).

1.4.3 - Sep 11, 2019

Updated for Xcode 11 GM and Swift 5.1

1.4.2 - Aug 20, 2019

Updated for Xcode 11b6 to use with it's integrated SPM and Swift 5.1

1.4.1 - May 27, 2019

Reintroduced .bytes and .data in UInt8-Collection.

1.4.0 - May 2, 2019

Added -compactMapConcurrently to Collection
Improved HMBytesConvertable's -init-s
Removed .bytes and .data from UInt8 Collection