From 60e6abb35bc1f05dad0c5dc2f521cbd44eccf9b8 Mon Sep 17 00:00:00 2001 From: Cody Garvin Date: Thu, 25 Jun 2020 09:54:01 -0700 Subject: [PATCH] Spm update (#911) * LIBMOBILE-77: Removed Quick and Nimble, updated unit tests * Issue 906: Updated package to supports all types of libraries --- Package.swift | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Package.swift b/Package.swift index 289c556a9..1b8a6962e 100644 --- a/Package.swift +++ b/Package.swift @@ -5,11 +5,13 @@ import PackageDescription let package = Package( name: "Analytics", + platforms: [ + .iOS(.v12), .tvOS(.v12) + ], products: [ // Products define the executables and libraries produced by a package, and make them visible to other packages. .library( name: "Analytics", - type: .dynamic, targets: ["Analytics"]), ], dependencies: [ @@ -27,8 +29,9 @@ let package = Package( sources: ["Classes", "Internal"], publicHeadersPath: "Classes", cSettings: [ - .headerSearchPath("Internal"), - .headerSearchPath("Classes"), - ]), + .headerSearchPath("Internal"), + .headerSearchPath("Classes") + ] + ), ] )