-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProject.swift
64 lines (63 loc) · 2.49 KB
/
Project.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import ProjectDescription
import Foundation
let project = Project(
name: "carrem",
packages: [],
targets: [
.target(
name: "carrem",
destinations: .iOS,
product: .app,
bundleId: "com.bkoc.carrem",
deploymentTargets: .iOS("17.0"),
infoPlist: .extendingDefault(
with: [
"CFBundleDisplayName": "carrem",
"LSApplicationCategoryType": "public.app-category.productivity",
"UILaunchStoryboardName": "LaunchScreen",
"NSCameraUsageDescription": "We need a camera to take a picture of the car park.",
"NSLocationWhenInUseUsageDescription": "We need your location information to know the car park location.",
"UISupportedInterfaceOrientations": ["UIInterfaceOrientationPortrait"],
"UISupportedInterfaceOrientations~ipad": ["UIInterfaceOrientationPortrait"]
]
),
sources: ["carrem/Sources/**"],
resources: ["carrem/Resources/**"],
entitlements: "carrem/carrem.entitlements",
dependencies: [
.target(name: "CarParkReminderExtension"),
],
settings: .settings(base: [
"MARKETING_VERSION": "1.1.0",
"CURRENT_PROJECT_VERSION": "1"
])
),
.target(
name: "CarParkReminderExtension",
destinations: .iOS,
product: .appExtension,
bundleId: "com.bkoc.carrem.CarParkReminder",
deploymentTargets: .iOS("17.0"),
infoPlist: .extendingDefault(with: [
"CFBundleDisplayName": "$(PRODUCT_NAME)",
"NSExtension": [
"NSExtensionPointIdentifier": "com.apple.widgetkit-extension",
],
]),
sources: [
"CarParkReminderExtension/Sources/**",
"carrem/Sources/Localization/**",
"carrem/Sources/Extension/String+Extension.swift"
],
resources: [
"CarParkReminderExtension/Resources/**",
"carrem/Resources/Localization/**"
],
entitlements: "CarParkReminderExtension/CarParkReminderExtension.entitlements",
dependencies: [
.sdk(name: "SwiftUI", type: .framework),
.sdk(name: "WidgetKit", type: .framework)
]
),
]
)