-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 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
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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")) | ||
] | ||
``` |