-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
58 lines (56 loc) · 1.86 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
54
55
56
57
58
// 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: "AppNexusSDK",
defaultLocalization: "en",
platforms: [
.iOS(.v12)
],
products: [
.library(
name: "AppNexusSDK",
targets: [
"OMSDK_Microsoft",
"AppNexusSDKTarget"
]
),
.library(
name: "ANGoogleAdapter",
targets: [
"ANGoogleMobileAdsTarget"
]
),
],
dependencies: [
.package(name: "GoogleMobileAds", url: "https://github.com/googleads/swift-package-manager-google-mobile-ads.git", .exact("11.2.0"))
],
targets: [
.binaryTarget(
name: "OMSDK_Microsoft",
url:
"https://adsdkprod.azureedge.net/mobile/ios/releases/9.2.1/dynamic/OMSDK_Microsoft.zip",
checksum: "f0b7cc1c45095a99bcd16e21250610a7614bbdf3d3c99e5f3ee8d762d9fe7dde"
),
.binaryTarget(
name: "AppNexusSDKTarget",
url:
"https://adsdkprod.azureedge.net/mobile/ios/releases/9.2.1/dynamic/AppNexusSDKDynamic.zip",
checksum: "a122b9d51dd6c58aec384e1c65bd82d1da2fcdebcedf0cfb3e2b328bd9ced38b"
),
.target(
name: "ANGoogleMobileAdsTarget",
dependencies: [
.target(name: "ANGoogleMobileAds"),
.target(name: "AppNexusSDKTarget"),
.product(name: "GoogleMobileAds", package: "GoogleMobileAds")
],
path: "ANGoogleMobileAdsTarget"
),
.binaryTarget(
name: "ANGoogleMobileAds",
url: "https://adsdkprod.azureedge.net/mobile/ios/releases/9.2.1/static/ANGoogleAdapter.zip",
checksum: "b38e9f04dc822f573201ac291e63624baa3af30d3da3f06a00b350c465c23061"
)
]
)