-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.yml
79 lines (79 loc) · 2.18 KB
/
project.yml
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
name: IdolBirthday
options:
deploymentTarget:
iOS: 13.5
macOS: 11.0
createIntermediateGroups: true
postGenCommand: pod install
settings:
DEVELOPMENT_TEAM: 4XKKKM86RN
VERSIONING_SYSTEM: Apple Generic
MARKETING_VERSION: "1.0"
CURRENT_PROJECT_VERSION: 15
settingGroups:
# Catalyst-${platform} で参照する
# これをやらないと macOS ターゲットなのに Catalyst の設定が出てくることがある気がする (要検証)
Catalyst-iOS:
SUPPORTS_MACCATALYST: true
Catalyst-macOS: {}
targets:
# --- App ---
App iOS:
type: application
platform: iOS
deploymentTarget: 13.5
settings:
base:
CODE_SIGN_ENTITLEMENTS: iOS/App/Resources/IdolBirthday.entitlements
PRODUCT_BUNDLE_IDENTIFIER: jp.pronama.IdolBirthday
PRODUCT_NAME: IdolBirthday
groups:
- Catalyst-iOS
sources:
- path: iOS/App
dependencies:
- target: Backend iOS
- target: Widget iOS
App macOS:
type: application
platform: macOS
settings:
CODE_SIGN_ENTITLEMENTS: App/macOS/IdolBirthday.entitlements
PRODUCT_BUNDLE_IDENTIFIER: jp.pronama.IdolBirthday
PRODUCT_NAME: IdolBirthday
sources:
- path: App/Shared
- path: App/macOS
dependencies:
- target: Backend macOS
- target: Widget macOS
# --- Backend ---
Backend:
type: framework
platform: [iOS, macOS]
platformSuffix: " ${platform}"
settings:
PRODUCT_BUNDLE_IDENTIFIER: jp.pronama.IdolBirthday.Backend
sources:
- path: Backend
# --- Widget ---
Widget:
type: app-extension
platform: [iOS, macOS]
platformSuffix: " ${platform}"
deploymentTarget:
iOS: 14.0
settings:
base:
CODE_SIGN_ENTITLEMENTS: Widget/${platform}/${platform}.entitlements
PRODUCT_BUNDLE_IDENTIFIER: jp.pronama.IdolBirthday.IdolBirthdayWidget
PRODUCT_NAME: IdolBirthdayWidget
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME: AccentColor
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME: WidgetBackground
groups:
- Catalyst-${platform}
sources:
- path: Widget/Shared
- path: Widget/${platform}
dependencies:
- target: Backend ${platform}