Skip to content

Commit

Permalink
TaboolaSDK SPM support
Browse files Browse the repository at this point in the history
- introduce support of TaboolaSDK for SPM;
- embed built `*.xcframework` with `Package.swift` file.
  • Loading branch information
Alexandr Zhuchinskiy committed May 26, 2022
1 parent a059f7e commit 2b1b4bb
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
18 changes: 18 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "TaboolaSDK",
platforms: [
.iOS(.v10)
],
products: [
.library(
name: "TaboolaSDK",
targets: ["TaboolaSDK"])
],
targets: [
.binaryTarget(name: "TaboolaSDK",
url: "https://taboola-mobile-sdk.s3.us-west-2.amazonaws.com/ios/spm/3.6.3/TaboolaSDK.xcframework.zip",
checksum: "627f0e75ea83c3ca3c500ddc7af6956d447fad8413609db76a1a44e604f29f9c")
]
)
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
# taboola-spm-ios-sdk
# taboola-spm-ios-sdk

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.

Once you have your Swift package set up, adding TaboolaSDK as a dependency is as easy as adding it to the dependencies value of your Package.swift.

```
dependencies: [
.package(url: "https://github.com/taboola/taboola-spm-ios-sdk", .upToNextMajor(from: "3.6.3"))
]
```

0 comments on commit 2b1b4bb

Please sign in to comment.