I updated to Xcode 9.2 recently, and it is not recognising trusted IOS 9.3.5 device, a really old ipad. Can anyone suggest a workaround? Thanks in Advance.
Update: Also tried connecting to a 11.2.1 Ipad mini. Its also being shown as untrusted device.
This happens in xcode(for ipad mini4 - trusted when prompted device)
This happens in iTunes, where the device is still not being recognized even after trusting the mac.
Answer worked for me.
After you delete that folder, you need to recreate again and make proper permissions, because iTunes need rw rights to that folder:
sudo mkdir /var/db/lockdown
sudo chmod go+w /var/db/lockdown
without having iTunes open. Then everything should be fine. Also keep in mind the same operation may be required for /private/var/db/lockdown [a mirror]