Detect the latest available iOS SDK installed when compiling for hardware.