Install AWS Mobile SDK for iOS

The AWS Mobile SDK is installed using CocoaPods. If you don't have CocoaPods installed, see Install CocoaPods.

Create a new project in Xcode, and in your project's directory, create file called podfile. Add the following text to the podfile you just created:

source 'https://github.com/CocoaPods/Specs.git'
pod 'AWSCore'
pod 'AWSAutoScaling'
pod 'AWSCloudWatch'
pod 'AWSDynamoDB'
pod 'AWSEC2'
pod 'AWSElasticLoadBalancing'
pod 'AWSKinesis'
pod 'AWSLambda'
pod 'AWSMachineLearning'
pod 'AWSMobileAnalytics'
pod 'AWSS3'
pod 'AWSSES'
pod 'AWSSimpleDB'
pod 'AWSSNS'
pod 'AWSSQS'
pod 'AWSCognito'

In a terminal window, navigate to your project directory and run the following command:

pod install

This will install the AWS Mobile SDK and any needed dependencies. Next, reopen your project using the newly generated .xcworkspace file

Your project now has the AWS Mobile SDK for iOS installed.

For more detailed information about installing the AWS Mobile SDK for iOS, see Set Up the SDK for iOS