forked from Jeehut/Permission
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Package.swift
37 lines (36 loc) · 1.12 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// swift-tools-version:5.3
import Foundation
import PackageDescription
let package = Package(
name: "Permission",
platforms: [
.iOS(.v11),
],
products: [
.library(name: "Permission", targets: ["Permission"]),
],
targets: [
.target(
name: "Permission",
path: "Source",
swiftSettings: [
.define("PERMISSION_BLUETOOTH"),
.define("PERMISSION_CAMERA"),
.define("PERMISSION_LOCATION"),
.define("PERMISSION_MICROPHONE"),
.define("PERMISSION_MOTION"),
.define("PERMISSION_USER_NOTIFICATIONS"),
.define("PERMISSION_SPEECH_RECOGNIZER")
// .define("PERMISSION_ADDRESS_BOOK"),
// .define("PERMISSION_CONTACTS"),
// .define("PERMISSION_EVENTS"),
// .define("PERMISSION_NOTIFICATIONS"),
// .define("PERMISSION_PHOTOS"),
// .define("PERMISSION_REMINDERS"),
// .define("PERMISSION_MEDIA_LIBRARY"),
// .define("PERMISSION_SIRI"),
]),
.testTarget(name: "PermissionTests", path: "Tests"),
],
swiftLanguageVersions: [.v5]
)