Mac & iPhone time drift while using XCode fixed with Mac restart

We use Macs and iPhones for development.  We hit an interesting situation when one of the phones was used to develop Naksho and was capturing time sensitive upload requests to AWS.  Yes, S3 signed image upload requests with 60 second expiry vs. the default was the use case.

Well, the phone would get errors when it tried to upload the image.

The EC2 server was 3-4 minutes ahead of the Mac and the iPhone so that explains why AWS was rejecting the request.  Quick net search:

  1. http://osxdaily.com/2016/05/07/fix-mac-showing-wrong-time-date/ – didn’t help
  2. https://www.imore.com/how-fix-your-macs-clock-when-it-displays-wrong-time – didn’t help
  3. http://www.idownloadblog.com/2016/11/23/fix-mac-showing-wrong-time/ – reboot – what????!!!

The … Read the complete article