Repository navigation
Expand file tree
/
Copy pathproject.yml
More file actions
225 lines (225 loc) · 7.18 KB
/
Copy pathproject.yml
File metadata and controls
225 lines (225 loc) · 7.18 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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
name: Strozz
options:
# Preserve the shipping Apple identity so Strozz updates the existing app.
bundleIdPrefix: com.thatcube.Twozz
deploymentTarget:
tvOS: "18.0"
iOS: "18.0"
createIntermediateGroups: true
settings:
base:
MARKETING_VERSION: "0.39.0"
CURRENT_PROJECT_VERSION: "1"
SWIFT_VERSION: "6.0"
GENERATE_INFOPLIST_FILE: NO
INFOPLIST_FILE: Strozz/App/Info.plist
TARGETED_DEVICE_FAMILY: "3" # Apple TV
configFiles:
Debug: Config/App.xcconfig
Release: Config/App.xcconfig
packages:
SDWebImage:
url: https://github.com/SDWebImage/SDWebImage.git
from: 5.21.0
SDWebImageSwiftUI:
url: https://github.com/SDWebImage/SDWebImageSwiftUI.git
from: 3.1.3
SDWebImageWebPCoder:
url: https://github.com/SDWebImage/SDWebImageWebPCoder.git
from: 0.14.6
targets:
StrozzMobile:
type: application
platform: iOS
sources:
- path: StrozzMobile
- path: Strozz/Assets.xcassets
- path: Strozz/Models
- path: Strozz/Resources/Fonts
- path: Strozz/Services
includes:
- "BrowseService.swift"
- "SearchService.swift"
- "RecommendationsService.swift"
- "PersonalizedRecommendationsService.swift"
- "WatchHistoryService.swift"
- "RecommendationFeedbackService.swift"
- "SimilarChannelsEngine.swift"
- "StreamerAffinityService.swift"
- "ChannelContentService.swift"
- "ChannelProfileService.swift"
- "FollowedChannels*.swift"
- "TwitchAuthSession*.swift"
- "TwitchYouTubeAliasService.swift"
- "YouTubeLiveSnapshotService.swift"
- "YouTubeConcurrentViewersService.swift"
- "Chat*.swift"
- "BadgeCatalogService.swift"
- "EmoteCatalogService.swift"
- "CheermoteCatalogService.swift"
- "WebSocketService.swift"
- "PlaybackService.swift"
- "Native*.swift"
- "LowLatencyHLSProxy.swift"
- "LiveChatSyncBaseline.swift"
- path: Strozz/Shared
includes:
- "NetworkClient.swift"
- "TwitchAPIClient.swift"
- "TwitchConfig.swift"
- "YouTubeConfig.swift"
- "PersistenceKeys.swift"
- "BoundedCache.swift"
- "CachedAsyncImage.swift"
- "Theme.swift"
- "CardMetrics.swift"
- "TopShelfStore.swift"
- "TopShelfCredentialStore.swift"
- "TopShelfSnapshot.swift"
- path: Strozz/Views/Icon.swift
- path: Strozz/Resources/StreamerAffinity.json
- path: Strozz/Views/RichChatLineView.swift
- path: Strozz/Views/Chat/ChatColor.swift
dependencies:
- package: SDWebImage
product: SDWebImage
- package: SDWebImageSwiftUI
product: SDWebImageSwiftUI
- package: SDWebImageWebPCoder
product: SDWebImageWebPCoder
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.thatcube.Twozz
PRODUCT_NAME: StrozzMobile
DEVELOPMENT_TEAM: N8Z5T4AK3X
CODE_SIGN_STYLE: Automatic
CODE_SIGN_ENTITLEMENTS: Strozz/App/Strozz.entitlements
INFOPLIST_FILE: StrozzMobile/Info.plist
TARGETED_DEVICE_FAMILY: "1,2"
SUPPORTS_MACCATALYST: NO
ASSETCATALOG_COMPILER_APPICON_NAME: MobileAppIcon
StrozzMobileTests:
type: bundle.unit-test
platform: iOS
sources:
- path: StrozzMobileTests
dependencies:
- target: StrozzMobile
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.thatcube.Twozz.MobileTests
DEVELOPMENT_TEAM: N8Z5T4AK3X
GENERATE_INFOPLIST_FILE: YES
INFOPLIST_FILE: ""
TARGETED_DEVICE_FAMILY: "1,2"
TEST_HOST: "$(BUILT_PRODUCTS_DIR)/StrozzMobile.app/StrozzMobile"
BUNDLE_LOADER: "$(TEST_HOST)"
StrozzMobileUITests:
type: bundle.ui-testing
platform: iOS
sources:
- path: StrozzMobileUITests
dependencies:
- target: StrozzMobile
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.thatcube.Twozz.MobileUITests
DEVELOPMENT_TEAM: N8Z5T4AK3X
GENERATE_INFOPLIST_FILE: YES
INFOPLIST_FILE: ""
TARGETED_DEVICE_FAMILY: "1,2"
TEST_TARGET_NAME: StrozzMobile
Strozz:
type: application
platform: tvOS
sources:
- path: Strozz
dependencies:
- package: SDWebImage
product: SDWebImage
- package: SDWebImageSwiftUI
product: SDWebImageSwiftUI
- package: SDWebImageWebPCoder
product: SDWebImageWebPCoder
- target: TopShelfExtension
embed: true
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.thatcube.Twozz
DEVELOPMENT_TEAM: N8Z5T4AK3X
CODE_SIGN_STYLE: Automatic
CODE_SIGN_ENTITLEMENTS: Strozz/App/Strozz.entitlements
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
TopShelfExtension:
type: com.apple.product-type.tv-app-extension
platform: tvOS
sources:
- path: TopShelfExtension/ContentProvider.swift
- path: TopShelfExtension/TopShelfLiveFeed.swift
- path: Strozz/Shared/TopShelfSnapshot.swift
- path: Strozz/Shared/TopShelfStore.swift
- path: Strozz/Shared/TopShelfCredentialStore.swift
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.thatcube.Twozz.TopShelfExtension
DEVELOPMENT_TEAM: N8Z5T4AK3X
CODE_SIGN_STYLE: Automatic
INFOPLIST_FILE: TopShelfExtension/Info.plist
# tvOS's legacy TVExtensionMain entry point (set by the
# com.apple.product-type.tv-app-extension product type) is a no-op stub
# in modern tvOS — it simply returns, so the extension process launched
# and exited immediately without ever instantiating the principal class,
# leaving the Top Shelf empty. Modern Top Shelf extensions must enter
# through NSExtensionMain (provided by Foundation), which sets up the
# ExtensionKit/XPC runtime and instantiates ContentProvider.
LD_ENTRY_POINT: _NSExtensionMain
CODE_SIGN_ENTITLEMENTS: TopShelfExtension/TopShelfExtension.entitlements
StrozzTests:
type: bundle.unit-test
platform: tvOS
sources:
- path: StrozzTests
dependencies:
- target: Strozz
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.thatcube.Twozz.Tests
DEVELOPMENT_TEAM: N8Z5T4AK3X
CODE_SIGN_STYLE: Automatic
# These pure-logic tests use `@testable import Strozz`, so the bundle is
# hosted by the app. Override the project-wide Info.plist settings, which
# point at the app's own plist, with a generated one for the test bundle.
GENERATE_INFOPLIST_FILE: YES
INFOPLIST_FILE: ""
TEST_HOST: "$(BUILT_PRODUCTS_DIR)/Strozz.app/Strozz"
BUNDLE_LOADER: "$(TEST_HOST)"
schemes:
StrozzMobile:
build:
targets:
StrozzMobile: all
run:
config: Debug
test:
config: Debug
targets:
- StrozzMobileTests
- StrozzMobileUITests
archive:
config: Release
Strozz:
build:
targets:
Strozz: all
run:
config: Debug
test:
config: Debug
targets:
- StrozzTests
profile:
config: Release
analyze:
config: Debug
archive:
config: Release