Skip to content

Commit

Permalink
Added resources to SPM
Browse files Browse the repository at this point in the history
  • Loading branch information
TimOliver committed Dec 29, 2020
1 parent c73eaed commit 31402ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.0
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -14,6 +14,7 @@ var platforms: [SupportedPlatform] {

let package = Package(
name: "TOCropViewController",
defaultLocalization: "en",
platforms: platforms,
products: [
.library(
Expand All @@ -30,6 +31,7 @@ let package = Package(
name: "TOCropViewController",
path: "Objective-C/TOCropViewController/",
exclude:["Supporting/Info.plist"],
resources: [.process("Resources")],
publicHeadersPath: "include"
),
.target(
Expand Down

0 comments on commit 31402ea

Please sign in to comment.