-
-
Save Air-Craft/657bb1c2f535cd72a0aa242d74874c1e to your computer and use it in GitHub Desktop.
My Package.swift
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
| // swift-tools-version:5.3 | |
| import PackageDescription | |
| let package = Package( | |
| name: "MySDK", | |
| platforms: [ | |
| .iOS(.v12) | |
| ], | |
| products: [ | |
| .library( | |
| name: "MySDK", | |
| type: .dynamic, | |
| targets: ["MySDK", "HKHelpers"]), | |
| ], | |
| dependencies: [ | |
| // Dependencies declare other packages that this package depends on. | |
| .package(name: "SwiftJWT", url: "https://github.com/Kitura/Swift-JWT.git", from: "3.5.3"), | |
| .package(name: "MySDKDependencies", url: "file:///Users/Me/Code/MySDKDependencies", from: "1.0.0"), | |
| ], | |
| targets: [ | |
| .target( | |
| name: "MySDK", | |
| dependencies: [ | |
| .product(name: "SDKHeader", package: "NTRDataCollectionSDKDependencies"), | |
| .product(name: "SDKUpstreamProtocol", package: "NTRDataCollectionSDKDependencies"), | |
| .product(name: "AWSCore", package: "NTRDataCollectionSDKDependencies"), | |
| .product(name: "AWSCognito", package: "NTRDataCollectionSDKDependencies"), | |
| .product(name: "AWSS3", package: "NTRDataCollectionSDKDependencies"), | |
| .product(name: "AWSSNS", package: "NTRDataCollectionSDKDependencies"), | |
| .product(name: "AWSPinpoint", package: "NTRDataCollectionSDKDependencies"), | |
| "SwiftJWT", | |
| "HKHelpers" | |
| ], | |
| path: "MySDK/Sources", | |
| exclude: ["*.plist", "*.h", "*.m"] | |
| ), | |
| .target( | |
| name: "HKHelpers", | |
| dependencies: [], | |
| path: "Libs/Internal/HKHelpers", | |
| exclude: ["*.swift", "Info.plist"], | |
| publicHeadersPath: "Sources/Public" | |
| ), | |
| ] | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment