└── Package.swift /Package.swift: -------------------------------------------------------------------------------- 1 | // swift-tools-version:5.5 2 | // The swift-tools-version declares the minimum version of Swift required to build this package. 3 | import PackageDescription 4 | 5 | let package = Package( 6 | name: "GoogleInteractiveMediaAds", 7 | defaultLocalization: "en", 8 | platforms: [ 9 | .iOS(.v12) 10 | ], 11 | products: [ 12 | // Products define the executables and libraries a package produces, and make them visible to other packages. 13 | .library( 14 | name: "GoogleInteractiveMediaAds", 15 | targets: ["GoogleInteractiveMediaAds"]) 16 | ], 17 | dependencies: [ 18 | // Dependencies declare other packages that this package depends on. 19 | ], 20 | targets: [ 21 | // Targets are the basic building blocks of a package. A target can define a module or a test suite. 22 | // Targets can depend on other targets in this package, and on products in packages this package depends on. 23 | .binaryTarget( 24 | name: "GoogleInteractiveMediaAds", 25 | url: "https://imasdk.googleapis.com/native/downloads/ima-ios-v3.18.4.zip", 26 | checksum: "2ca30c7ea01452dd8b522376729831c89b449283aeecba165f6b3e748af80c41" 27 | // url: "https://imasdk.googleapis.com/native/downloads/ima-ios-v3.19.1.zip", 28 | // checksum: "d34b186079068cd2d7aa85198429b38939b37e21186800ad27e2fb240abd2494" 29 | ) 30 | ] 31 | ) 32 | --------------------------------------------------------------------------------