NSLinux
NSLinux copied to clipboard
Error: 'fromCString' is unavailable
I'm trying to build a project that depends on this library and am getting the following error in multiple locations:
Packages/NSLinux-1.1.0/Sources/NSString.swift:127:26: error: 'fromCString' is unavailable: Please use String.init?(validatingUTF8:) instead. Note that it no longer accepts NULL as a valid input. Also consider using String(cString:), that will attempt to repair ill-formed code units.
Please see https://github.com/johnno1962/NSLinux/issues/3