GetAppleSerial Swift This is an example Swift project, which obtains Apple Serial Number using IOKit call IORegistryEntryCreateCFProperty. Note: This project has been first created using XCode7.1 and tested on OSX 10.10.5 Yosemite.