-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProject.swift
More file actions
38 lines (36 loc) · 1.84 KB
/
Project.swift
File metadata and controls
38 lines (36 loc) · 1.84 KB
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
import ProjectDescription
import Security
let projectName: String = "DangProject"
let target = Target(name: projectName,
platform: .iOS,
product: .app,
bundleId: "com.\(projectName)",
deploymentTarget: .iOS(targetVersion: "14.0", devices: [.iphone]),
infoPlist: "\(projectName)/Supporting/Info.plist",
sources: "\(projectName)/Sources/**",
resources: "\(projectName)/Resources/**",
dependencies: [
.package(product: "RxSwift"),
.package(product: "RxCocoa"),
.package(product: "RxRelay"),
.package(product: "FirebaseAuth"),
.package(product: "FirebaseAnalytics"),
.package(product: "FirebaseFirestore"),
.package(product: "FirebaseStorage"),
.package(product: "GTMSessionFetcherFull")
],
coreDataModels: [
.init(.relativeToCurrentFile("\(projectName)/Sources/Application/CoreDataClasses/DangProject.xcdatamodeld/"))
]
)
let project = Project(name: projectName,
organizationName: nil,
packages: [
.remote(url: "https://github.com/ReactiveX/RxSwift.git", requirement: .exact("6.5.0")),
.remote(url: "https://github.com/firebase/firebase-ios-sdk.git", requirement: .upToNextMajor(from: "9.1.0")),
.remote(url: "https://github.com/google/gtm-session-fetcher.git", requirement: .exact("1.7.2"))
],
settings: nil,
targets: [target],
schemes: []
)