![]() You'll see the repository rules for which version of the SDK you want Swift Package Manager to install. We maintain the Swift Package Manager manifest ( Package.swift) file for this library in a separate repo so that apps that use the SDK do not have to download the entire source repository in order to consume the binary targets. NOTE: This URL is not the main URL of the SDK. To start adding the AWS SDK to your iOS project, open your project in Xcode and select File > Swift Packages > Add Package Dependency.Įnter the URL for the AWS SDK for iOS Swift Package Manager GitHub repo ( ) into the search bar and click Next. 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. Visit our Web Site to learn more about Amplify Framework. Generated AWS Service Interfaces: Provides direct interaction with any AWS service.PubSub: Provides connectivity with cloud-based message-oriented middleware.Push Notifications: Allows you to integrate push notifications in your app with Amazon Pinpoint targeting and campaign management support.Storage: Provides a simple mechanism for managing user content for your app in public, protected or private storage buckets.It provides an automatic, lightweight signing process which complies with AWS Signature Version 4. API: Provides a simple solution when making HTTP requests. ![]() Analytics data includes user sessions and other custom events that you want to track in your app.
0 Comments
Leave a Reply. |