Skip to content

Commit 736aece

Browse files
dispatchqueuephimage
authored andcommitted
Make CallbackURLKit Xcode 11 Swift Package Manager compatible.
1 parent 2e3367c commit 736aece

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

CallbackURLKit.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@
445445
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
446446
GCC_WARN_UNUSED_FUNCTION = YES;
447447
GCC_WARN_UNUSED_VARIABLE = YES;
448-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
448+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
449449
MACOSX_DEPLOYMENT_TARGET = 10.14;
450450
MTL_ENABLE_DEBUG_INFO = YES;
451451
ONLY_ACTIVE_ARCH = YES;
@@ -500,7 +500,7 @@
500500
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
501501
GCC_WARN_UNUSED_FUNCTION = YES;
502502
GCC_WARN_UNUSED_VARIABLE = YES;
503-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
503+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
504504
MACOSX_DEPLOYMENT_TARGET = 10.14;
505505
MTL_ENABLE_DEBUG_INFO = NO;
506506
SDKROOT = iphoneos;

Package.swift

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// swift-tools-version:5.0
12
// Package.swift
23
/*
34
The MIT License (MIT)
@@ -22,5 +23,15 @@
2223
import PackageDescription
2324

2425
let package = Package(
25-
name: "CallbackURLKit"
26+
name: "CallbackURLKit",
27+
platforms: [.iOS(.v11), .macOS(.v10_14), .tvOS(.v10)],
28+
products: [
29+
.library(name: "CallbackURLKit", targets: ["CallbackURLKit"])
30+
],
31+
targets: [
32+
.target(
33+
name: "CallbackURLKit",
34+
path: "Sources"
35+
)
36+
]
2637
)

0 commit comments

Comments
 (0)