-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProject.swift
45 lines (41 loc) · 1.2 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
import ProjectDescription
let baseSettings = SettingsDictionary()
.bitcodeEnabled(true)
let project = Project(
name: "TuistApollo",
settings: .settings(base: baseSettings),
targets: [
// App
.init(
name: "App",
platform: .iOS,
product: .app,
productName: "TuistApollo",
bundleId: "com.TuistApollo.application",
deploymentTarget: .iOS(targetVersion: "14.0", devices: .iphone),
infoPlist: .default,
sources: [
"Targets/TuistApollo/Sources/*.swift",
],
dependencies: [
.external(name: "Apollo"),
.target(name: "API"),
]
),
.init(
name: "API",
platform: .iOS,
product: .framework,
productName: "API",
bundleId: "com.TuistApollo.api",
deploymentTarget: .iOS(targetVersion: "14.0", devices: .iphone),
infoPlist: .default,
sources: [
"Targets/TuistAPI/Sources/*.swift",
],
dependencies: [
.external(name: "Apollo"),
]
),
]
)