Skip to content

Commit 68aa372

Browse files
authored
Merge pull request #23 from cortexark/fix/dev-prod-schemes
Add Dev and Prod iOS schemes
2 parents fc0d189 + 14815a9 commit 68aa372

2 files changed

Lines changed: 40 additions & 0 deletions

File tree

apps/HeartCoach/iOS/Views/OnboardingView.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,10 @@ struct OnboardingView: View {
531531

532532
// MARK: - Preview
533533

534+
#if DEBUG
534535
#Preview("Onboarding Flow") {
535536
OnboardingView()
536537
.environmentObject(LocalStore.preview)
537538
.environmentObject(HealthKitService.preview)
538539
}
540+
#endif

apps/HeartCoach/project.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,44 @@ schemes:
177177
archive:
178178
config: Release
179179

180+
Thump Dev:
181+
build:
182+
targets:
183+
Thump: all
184+
ThumpCoreTests: [test]
185+
ThumpUITests: [test]
186+
run:
187+
config: Debug
188+
test:
189+
config: Debug
190+
gatherCoverageData: true
191+
targets:
192+
- ThumpCoreTests
193+
- ThumpUITests
194+
profile:
195+
config: Release
196+
analyze:
197+
config: Debug
198+
archive:
199+
config: Release
200+
201+
Thump Prod:
202+
build:
203+
targets:
204+
Thump: all
205+
run:
206+
config: Release
207+
test:
208+
config: Release
209+
targets:
210+
- ThumpCoreTests
211+
profile:
212+
config: Release
213+
analyze:
214+
config: Release
215+
archive:
216+
config: Release
217+
180218
ThumpWatch:
181219
build:
182220
targets:

0 commit comments

Comments
 (0)