Repository navigation
Expand file tree
/
Copy pathproject.yml
More file actions
164 lines (159 loc) · 5.39 KB
/
Copy pathproject.yml
File metadata and controls
164 lines (159 loc) · 5.39 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
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
name: Itsyhome
options:
bundleIdPrefix: com.nickustinov
knownRegions: [en, es, fr, de, ru, ja, zh-Hans, zh-Hant, ko, pt-BR, it, pl, Base]
deploymentTarget:
iOS: "17.0"
xcodeVersion: "15.0"
generateEmptyDirectories: true
packages:
LiveKitWebRTC:
url: https://github.com/livekit/webrtc-xcframework.git
exactVersion: "137.7151.12"
hap-swift:
url: https://github.com/mikeburgh/hap-swift.git
revision: 6e62417d61522823552417714b62af89b2e211b3
settings:
base:
SWIFT_EMIT_LOC_STRINGS: "YES"
SWIFT_VERSION: "5.9"
CODE_SIGN_STYLE: Automatic
DEVELOPMENT_TEAM: R892A93W42
configs:
Release:
DEBUG_INFORMATION_FORMAT: dwarf-with-dsym
targets:
# Main macOS Catalyst app
Itsyhome:
type: application
platform: iOS
supportedDestinations: [iOS, maccatalyst]
sources:
- path: Itsyhome/iOS
- path: Itsyhome/Shared
- path: Itsyhome/HomeAssistant
- path: Itsyhome/Resources
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.nickustinov.itsyhome
PRODUCT_NAME: Itsyhome
INFOPLIST_FILE: Itsyhome/Info.plist
CODE_SIGN_ENTITLEMENTS: Itsyhome/Itsyhome.entitlements
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
ASSETCATALOG_COMPILER_INCLUDE_MAC_ICON_IN_CATALYST_APP: YES
SUPPORTS_MACCATALYST: YES
DERIVE_MACCATALYST_PRODUCT_BUNDLE_IDENTIFIER: NO
TARGETED_DEVICE_FAMILY: "6"
# App metadata
MARKETING_VERSION: "3.2.0"
CURRENT_PROJECT_VERSION: "32001"
INFOPLIST_KEY_CFBundleDisplayName: Itsyhome
INFOPLIST_KEY_LSApplicationCategoryType: public.app-category.utilities
scheme:
gatherCoverageData: false
storeKitConfiguration: Itsyhome/ItsyhomeProducts.storekit
testTargets:
- macOSBridgeTests
entitlements:
path: Itsyhome/Itsyhome.entitlements
properties:
com.apple.security.app-sandbox: true
com.apple.developer.homekit: true
com.apple.developer.ubiquity-kvstore-identifier: "$(TeamIdentifierPrefix)$(CFBundleIdentifier)"
com.apple.security.network.client: true
com.apple.security.network.server: true
com.apple.security.personal-information.location: true
dependencies:
- target: macOSBridge
platformFilter: maccatalyst
embed: true
codeSign: true
copyPhase:
destination: plugins
- sdk: HomeKit.framework
embed: false
- package: LiveKitWebRTC
# macOS plugin bundle for menu bar
macOSBridge:
type: bundle
platform: macOS
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.nickustinov.itsyhome.macOSBridge
PRODUCT_NAME: macOSBridge
INFOPLIST_FILE: macOSBridge/Info.plist
SKIP_INSTALL: YES
COMBINE_HIDPI_IMAGES: YES
MACOSX_DEPLOYMENT_TARGET: "14.0"
sources:
- path: macOSBridge
excludes:
- "Resources/PhosphorIcons/**"
- path: Itsyhome/Shared
buildPhase: sources
- path: Itsyhome/HomeAssistant
buildPhase: sources
- path: macOSBridge/Resources/PhosphorIcons
buildPhase: resources
type: folder
- path: macOSBridge/Resources/SecurityIcons
buildPhase: resources
type: folder
dependencies:
- sdk: CoreWLAN.framework
embed: false
- sdk: CoreLocation.framework
embed: false
- package: hap-swift
product: HAPSwift
- package: hap-swift
product: HAPApple
# Unit tests for macOSBridge
macOSBridgeTests:
type: bundle.unit-test
platform: macOS
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.nickustinov.itsyhome.macOSBridgeTests
PRODUCT_NAME: macOSBridgeTests
MACOSX_DEPLOYMENT_TARGET: "14.0"
GENERATE_INFOPLIST_FILE: YES
sources:
- path: macOSBridgeTests
- path: macOSBridge
excludes:
- "MacOSController.swift"
- "MacOSController+*.swift"
- "MenuBuilder.swift"
- "DebugMockAccessories.swift"
- "HotkeyManager.swift"
- "CameraPanelManager.swift"
- "Settings/**"
- "Controls/ShortcutButton.swift"
- "PinnedAccessory/**"
- path: macOSBridge/Settings/PreferencesManager.swift
- path: macOSBridge/Settings/PreferencesManager+Favourites.swift
- path: macOSBridge/Settings/PreferencesManager+Hidden.swift
- path: macOSBridge/Settings/PreferencesManager+Pinned.swift
- path: macOSBridge/Settings/PreferencesManager+Ordering.swift
- path: macOSBridge/Settings/PreferencesManager+Cameras.swift
- path: macOSBridge/Settings/PreferencesManager+Groups.swift
- path: macOSBridge/Settings/PreferencesManager+Shortcuts.swift
- path: macOSBridge/Settings/PreferencesManager+Icons.swift
- path: macOSBridge/Settings/PreferencesManager+Networks.swift
- path: macOSBridge/Settings/PreferencesManager+VirtualBridge.swift
- path: Itsyhome/Shared
buildPhase: sources
- path: Itsyhome/HomeAssistant
buildPhase: sources
dependencies:
- target: macOSBridge
# The test target compiles the macOSBridge sources directly (incl.
# HAPBridge/*), which import HAPCore/HAPSwift/HAPApple, so it must link
# the hap-swift products too.
- package: hap-swift
product: HAPSwift
- package: hap-swift
product: HAPApple
- package: hap-swift
product: HAPCore