Error code

iOS 4037

IOS4037
System Error Code· A POSIX/system errno returned when a system call fails.

What it means

Device is passcode-locked or encrypted and cannot be restored without unlocking first..

How to fix it

  1. Unlock the device before connecting if possible.
  2. If the device will not unlock perform a force restart into DFU mode and restore — note that all data will be erased.
  3. Use the correct computer that previously trusted the device if Find My iPhone is off.

Not affiliated with iOS. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.