33 lines
1.3 KiB
Swift
33 lines
1.3 KiB
Swift
// swift-tools-version: 5.9
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "CapacitorLevelplay",
|
|
platforms: [.iOS(.v15)],
|
|
products: [
|
|
.library(
|
|
name: "CapacitorLevelplay",
|
|
targets: ["LevelPlayPlugin"])
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0"),
|
|
// Official Unity LevelPlay SDK (binary xcframework + Ad Quality), https://github.com/ironsource-mobile/LevelPlay-Swift-Package
|
|
.package(url: "https://github.com/ironsource-mobile/LevelPlay-Swift-Package.git", "9.6.1"..<"10.0.0")
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "LevelPlayPlugin",
|
|
dependencies: [
|
|
.product(name: "Capacitor", package: "capacitor-swift-pm"),
|
|
.product(name: "Cordova", package: "capacitor-swift-pm"),
|
|
.product(name: "UnityMediationSDK", package: "LevelPlay-Swift-Package")
|
|
],
|
|
path: "ios/Sources/LevelPlayPlugin",
|
|
linkerSettings: [
|
|
.linkedFramework("AppTrackingTransparency"),
|
|
.linkedFramework("WebKit"),
|
|
.linkedFramework("JavaScriptCore"),
|
|
.linkedLibrary("sqlite3")
|
|
])
|
|
]
|
|
)
|