-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathProject.swift
More file actions
82 lines (81 loc) · 3.19 KB
/
Project.swift
File metadata and controls
82 lines (81 loc) · 3.19 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
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
import ProjectDescription
let project = Project(
name: "Loop_On",
targets: [
.target(
name: "Loop_On",
destinations: .iOS,
product: .app,
bundleId: "com.loopon.LoopOn",
infoPlist: .extendingDefault(
with: [
"BASE_URL": "$(BASE_URL)",
"KAKAO_NATIVE_APP_KEY": "$(KAKAO_NATIVE_APP_KEY)",
"LSApplicationQueriesSchemes": [
"kakaokompassauth",
"kakaolink"
],
"CFBundleURLTypes": [
[
"CFBundleURLName": "kakao",
"CFBundleURLSchemes": ["kakao$(KAKAO_NATIVE_APP_KEY)"]
]
],
"UILaunchScreen": [
"UIColorName": "",
"UIImageName": "",
],
"UIAppFonts": [
"Font/Pretendard-Light.otf",
"Font/Pretendard-ExtraLight.otf",
"Font/Pretendard-Thin.otf",
"Font/Pretendard-Bold.otf",
"Font/Pretendard-SemiBold.otf",
"Font/Pretendard-Medium.otf",
"Font/Pretendard-Black.otf",
"Font/Pretendard-Regular.otf",
"Font/Pretendard-ExtraBold.otf",
],
// 카메라 및 사진첩 권한 설정
"NSCameraUsageDescription": "루틴 인증 사진 촬영을 위해 카메라 권한이 필요합니다.",
"NSPhotoLibraryUsageDescription": "사진 추가를 위해 갤러리 접근 권한이 필요합니다.",
"NSPhotoLibraryAddUsageDescription": "사진 추가를 위해 갤러리 접근 권한이 필요합니다."
]
), // infoPlist 괄호 닫기
sources: ["Loop_On/Sources/**"],
resources: [
"Loop_On/Resources/**",
"Loop_On/Sources/Loading/*.json"
],
entitlements: .file(path: .relativeToRoot("Loop_On/Loop_On.entitlements")),
dependencies: [
.external(name: "Alamofire"),
.external(name: "Kingfisher"),
.external(name: "Moya"),
.external(name: "Lottie"),
// 카카오 SDK
.external(name: "KakaoSDKCommon"),
.external(name: "KakaoSDKAuth"),
.external(name: "KakaoSDKUser"),
],
settings: .settings(
configurations: [
.debug(name: "Debug", xcconfig: "Loop_On/Sources/Secret.xcconfig"),
.release(name: "Release", xcconfig: "Loop_On/Sources/Secret.xcconfig")
]
)
),
.target(
name: "Loop_OnTests",
destinations: .iOS,
product: .unitTests,
bundleId: "dev.tuist.Loop-OnTests",
infoPlist: .default,
sources: ["Loop_On/Tests/**"],
dependencies: [.target(name: "Loop_On")]
),
],
additionalFiles: [
"Loop_On/Sources/Secret.xcconfig"
]
)