-
Notifications
You must be signed in to change notification settings - Fork 1
/
Project.swift
144 lines (139 loc) · 7.78 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
import ProjectDescription
let project = Project(name: "App",
organizationName: "NghianV",
packages: [],
settings: nil,
targets: [
Target(
name: "App",
platform: .iOS,
product: .app,
productName: "NghiaNVApp",
bundleId: "com.nghianv.app",
deploymentTarget: DeploymentTarget.iOS(
targetVersion: "10.0",
devices: [DeploymentDevice.iphone, DeploymentDevice.ipad]
),
infoPlist: InfoPlist.extendingDefault(with: [
"CFBundleShortVersionString": "1.0.0",
"CFBundleVersion": "1.0",
"CFBundleDisplayName": "App Project.swift",
"UILaunchStoryboardName": "LaunchScreen",
"LSRequiresIPhoneOS": true,
"NSAppTransportSecurity": [
"NSAllowsArbitraryLoads": true,
],
"UIAppFonts": [
"SF-Pro-Display-Semibold.otf",
"SF-Pro-Display-Medium.otf",
"SF-Pro-Display-Bold.otf",
"SF-Pro-Display-Regular.otf",
"SF-Pro-Display-LightItalic.otf",
"SFUIText-Regular.ttf",
"SFUIText-RegularItalic.ttf",
"SFUIText-Semibold.ttf",
"SFUIText-SemiboldItalic.ttf",
"SFUIText-Medium.ttf",
"EvilIcons.ttf",
"Ionicons.ttf",
"FontAwesome.ttf",
"OCRA.ttf",
"SF-Pro-Display-RegularItalic.otf",
],
"ITSAppUsesNonExemptEncryption": false,
"LSApplicationQueriesSchemes": ["zalo", "facebook"],
"UIRequiredDeviceCapabilities": ["armv7", "arm64"],
"UIBackgroundModes": ["remote-notification"],
"UIStatusBarStyle": "UIStatusBarStyleLightContent",
"UISupportedInterfaceOrientations": ["UIInterfaceOrientationPortrait"],
"UIUserInterfaceStyle": "Light",
"UIViewControllerBasedStatusBarAppearance": true,
]), sources: ["Application/Sources/**"],
resources: ["Application/Resources/**"],
headers: Headers(public: ["Bridge/**"]),
entitlements: Path.relativeToRoot("NghiaNVApp.entitlements"),
dependencies: [
.target(name: "TargetA"),
.target(name: "TargetB"),
.target(name: "TargetC"),
.sdk(name: "libz.tbd"),
.sdk(name: "libc++.tbd"),
.sdk(name: "UIKit.framework"),
.sdk(name: "StoreKit.framework"),
.sdk(name: "CoreGraphics.framework"),
.sdk(name: "AVFoundation.framework"),
.framework(path: .relativeToRoot("Carthage/Build/iOS/RxSwift.framework")),
.framework(path: .relativeToRoot("Carthage/Build/iOS/RxCocoa.framework")),
.framework(path: .relativeToRoot("Carthage/Build/iOS/RxRelay.framework")),
.framework(path: .relativeToRoot("Carthage/Build/iOS/RxBlocking.framework")),
.cocoapods(path: ".")
],
settings: Settings(base: [
"OTHER_LDFLAGS": "$(inherited) -fprofile-instr-generate -lxml2 -ObjC",
"DEVELOPMENT_TEAM": "723KXVZ5C9",
"SWIFT_OBJC_BRIDGING_HEADER": "Bridge/App-Bridging-Header.h"
])
),
Target(
name: "TargetA",
platform: .iOS,
product: .staticFramework,
productName: "TargetA",
bundleId: "com.nghianv.targetA",
deploymentTarget: DeploymentTarget.iOS(
targetVersion: "10.0",
devices: [DeploymentDevice.iphone, DeploymentDevice.ipad]
),
infoPlist: InfoPlist.extendingDefault(with: [:]),
sources: ["Targets/TargetA/Sources/**"],
resources: ["Targets/TargetA/Resources/**"]
),
Target(
name: "TargetB",
platform: .iOS,
product: .staticFramework,
bundleId: "com.nghianv.targetB",
deploymentTarget: DeploymentTarget.iOS(
targetVersion: "10.0",
devices: [DeploymentDevice.iphone, DeploymentDevice.ipad]
),
infoPlist: InfoPlist.extendingDefault(with: [:]),
sources: ["Targets/TargetB/Sources/**"],
resources: ["Targets/TargetB/Resources/**"]
),
Target(
name: "TargetC",
platform: .iOS,
product: .staticFramework,
bundleId: "com.nghianv.targetC",
deploymentTarget: DeploymentTarget.iOS(
targetVersion: "10.0",
devices: [DeploymentDevice.iphone, DeploymentDevice.ipad]
),
infoPlist: InfoPlist.extendingDefault(with: [:]),
sources: ["Targets/TargetC/Sources/**"],
resources: ["Targets/TargetC/Resources/**"]
)
],
schemes: [
Scheme(
name: "App-Release",
shared: true,
buildAction: BuildAction(targets: ["App"]),
runAction: RunAction(executable: "App")
),
],
additionalFiles: [
"Project.swift",
"fastlane",
"Scripts",
"Cartfile",
"Cartfile.resolved",
"README.md",
".tuist-version",
".gitignore",
".gitlab-ci.yml",
"Podfile",
"Podfile.lock"
]
)