


Swift Package Manager is distributed with Xcode. To use the AWSMobileClient or AWSLocation SDKs, import them as: AWSMobileClient is named as AWSMobileClientXCF and AWSLocation is named as AWSLocationXCF. Note: If you are using XCFrameworks (i.e., either Swift Package Manager, Carthage, or Dynamic Frameworks), some modules are named with the XCF suffix to work around a Swift issue. Importing the SDK in multiple ways loads duplicate copies of the SDK into the project and causes compiler/linker errors. You should use ONE and only one of these ways to import the AWS Mobile SDK.

There are several ways to integrate the AWS Mobile SDK for iOS into your own project: Please note that the code in these sample applications is not of production quality, and should be considered as exactly what we called them: samples. We have a couple samples applications which showcase how to use the AWS SDK for iOS. Include the SDK for iOS in an Existing Application To use the AWS SDK for iOS, you will need the following installed on your development machine: You can also run the samples to get a sense of how the SDK works. You can set up the SDK and start building a new project, or you integrate the SDK in an existing project. To get started with the AWS SDK for iOS, check out the Developer Guide for iOS.

You can also look at sample apps in the AWS SDK for iOS Samples repo. If you still wish to use the AWS SDK for iOS directly you can refer to the AWS SDK Documentation here and follow the setup instructions below. If you are unable to find features you are looking for in Amplify please open an issue in the Amplify Library for Swift GitHub repo and we will be happy to consider you request. You can also use AWS Amplify with your existing AWS cloud resources. You can head to the Amplify Library for Swift documentation to learn more about all the features. You can access this underlying SDK via the Escape Hatch from AWS Amplify. Note: v2 of Amplify Library for Swift (currently GA) is built on top of the AWS SDK for Swift and only provides access to the AWS SDK for Swift which is currently in developer preview. We recommend using the latest v2 version of AWS Amplify Library for Swift to quickly implement common app use cases like Authentication, Storage, Push Notifications and more that follow patterns idiomatic to Swift like async/await. The AWS SDK for iOS provides a library and documentation for developers to build connected mobile applications using AWS.
