-
Notifications
You must be signed in to change notification settings - Fork 10
/
Package.swift
53 lines (49 loc) · 2.03 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// 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: "AppLovinSDK",
defaultLocalization: "en",
products: [
.library(
name: "AppLovinSDK",
targets: ["AppLovinSDKResources"]
),
],
dependencies: [],
targets: [
// This is a wrapper target to configure various settings required by main binary target.
.target(
name: "AppLovinSDKResources",
dependencies: [
.target(name: "AppLovinSDK")
],
linkerSettings: [
.linkedFramework("AdSupport"),
.linkedFramework("AppTrackingTransparency"),
.linkedFramework("AudioToolbox"),
.linkedFramework("AVFoundation"),
.linkedFramework("CoreGraphics"),
.linkedFramework("CoreMedia"),
.linkedFramework("CoreMotion"),
.linkedFramework("CoreTelephony"),
.linkedFramework("Foundation"),
.linkedFramework("MessageUI"),
.linkedFramework("SafariServices"),
.linkedFramework("StoreKit"),
.linkedFramework("SystemConfiguration"),
.linkedFramework("UIKit"),
.linkedFramework("WebKit"),
.linkedLibrary("z"),
// NOTE: Swift Package Manager currently does not allow dependencies with unsafeFlags, unless a specific branch/commit is used.
// For now, these flags should be added manually to the project for integration.
// .unsafeFlags(["-ObjC"])
]
),
.binaryTarget(
name: "AppLovinSDK",
url: "https://artifacts.applovin.com/ios/com/applovin/applovin-sdk/AppLovinSDK-13.0.1.xcframework.zip",
checksum: "a95ff1a2bd343f59156d87562c6ffffa63a9531cc63a8d53e8b6f91ae4ec6e1c"
)
]
)