Build Failed on swift 4.2
manuduarte opened this issue · 2 comments
Hi,
I installed swift on an odroid C2 SBC and I'm only able to install swift 4.2.
Building HAP failed on building BlueSignals
.build/checkouts/BlueSignals.git-8826455067652766894/Sources/Signals/Signals.swift:111:36:
error: converting non-escaping value to 'T' may allow it to escape
sigAction.__sigaction_handler = unsafeBitCast(action, to: sigaction.__Unnamed_union___sigaction_handler.self)
The bug seems to be fixed since BlueSIgnals 1.02 but Kitura-net still use 1.0.0.
After updated BlueSignals to the last release building HAP on my odroid C2 SBC succes
The next version will drop Kitura and BlueSocket in favor of Nio. You can try #68 if you want to give it a go. I’m running that PR myself on a Raspberry Pi and it has been very stable for me.