So the swift sdk does not seem to be usable as I keep faulting on this line:
public init(stream: InputStream) throws {
let recordHeader: UInt8 = try stream.readNumeric();
localMesgNum = LocalMesgNum(rawValue: recordHeader & FIT.LOCAL_MESG_NUM_MASK)!
reserved = try stream.readNumeric()
let architecture: UInt8 = try stream.readNumeric()
endianness = Endianness(rawValue: architecture)!
The forcing of a rawValue doesn't seem to work... there is another part where MsgNum is also forced that is causing some issues as well. I was debating on forking the code and fixing, but wanted to see if others were having this issue and if it is something that is known.
Kevin