DeviceKit icon indicating copy to clipboard operation
DeviceKit copied to clipboard

Xcode 6.1.1 utsname() throws an error

Open ianhirschfeld opened this issue 11 years ago • 1 comments

This line: var systemInfo = utsname() doesn't seem to work. I get the error: Missing argument for parameter 'sysname' in call.

ianhirschfeld avatar Mar 06 '15 18:03 ianhirschfeld

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.

dennisweissmann avatar Mar 08 '15 11:03 dennisweissmann