Closed gui-dos closed 5 days ago
With the beta of Xcode 16 compilation fails by reporting the error “The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions.” regarding the line
https://github.com/JohanDegraeve/xdripswift/blob/b02cd8275c6643cab128f92fe90f48ad05e22ab5/xdrip/BluetoothTransmitter/CGM/Libre/Utilities/LibreNFC.swift#L462
Simply replacing the final + (error?.localizedDescription ?? "none”) with error.debugDescription makes xDrip compilable again.
+ (error?.localizedDescription ?? "none”)
error.debugDescription
With the beta of Xcode 16 compilation fails by reporting the error “The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions.” regarding the line
https://github.com/JohanDegraeve/xdripswift/blob/b02cd8275c6643cab128f92fe90f48ad05e22ab5/xdrip/BluetoothTransmitter/CGM/Libre/Utilities/LibreNFC.swift#L462
Simply replacing the final
+ (error?.localizedDescription ?? "none”)
witherror.debugDescription
makes xDrip compilable again.