Updated the samples for the version 2 of the AWS Mobile SDK for iOS.