Skip to content

Commit

Permalink
Merge pull request #138 from AppsFlyerSDK/RD-48382/Swift-Package-manager
Browse files Browse the repository at this point in the history
Rd 48382/swift package manager
  • Loading branch information
andr-ggn authored Oct 28, 2020
2 parents 0267b87 + 5daaa1e commit 63bfe99
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "AppsFlyerLib",
products: [
.library(
name: "AppsFlyerLib",
targets: ["AppsFlyerLib"]),
],
dependencies: [
],
targets: [
.binaryTarget(
name: "AppsFlyerLib",
path: "MacCatalyst/AppsFlyerLib.xcframework")
]
)
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,37 @@ In order for us to provide optimal support, we would kindly ask you to submit an


When submitting an issue please specify your AppsFlyer sign-up (account) email , your app ID , reproduction steps, logs, code snippets and any additional relevant information.

---

## Swift Package Manager
### Introduction
AppsFlyer SDK version 6.0.8 (ONLY!) supports installation via [Swift Package Manager](https://swift.org/package-manager/).

### Installation
In Xcode go to: ```File -> Swift Packages -> Add Package Dependency...```

![Step 1](https://github.com/amit-kremer93/resources/blob/main/1.png)

Enter the AppsFlyer SDK GitHub repository - ```https://github.com/AppsFlyerSDK/AppsFlyerFramework```

![Step 2](https://github.com/amit-kremer93/resources/blob/main/2.png)

Select the exact SDK version 6.0.8

![Step 3](https://github.com/amit-kremer93/resources/blob/main/3.png)

Select the AppsFlyerLib library

![Step 4](https://github.com/amit-kremer93/resources/blob/main/4.png)

In your ```AppDelegate``` file: import AppsFlyerLib module

![Step 5](https://github.com/amit-kremer93/resources/blob/main/5.png)

Start to use AppsFlyer SDK

![Step 6](https://github.com/amit-kremer93/resources/blob/main/6.png)



0 comments on commit 63bfe99

Please sign in to comment.