DeviceKit
DeviceKit copied to clipboard
Xcode 6.1.1 utsname() throws an error
This line:
var systemInfo = utsname()
doesn't seem to work. I get the error:
Missing argument for parameter 'sysname' in call.
Thanks for catching that! Calling utsname() without parameters requires Swift 1.2 (included in Xcode 6.3 Beta) and iOS 8.3. Please use the code of my old SO answer and make sure you update the DeviceList with the one from my current answer.