diff --git a/apps/HeartCoach/iOS/Views/OnboardingView.swift b/apps/HeartCoach/iOS/Views/OnboardingView.swift index 5509b5d..28f02f9 100644 --- a/apps/HeartCoach/iOS/Views/OnboardingView.swift +++ b/apps/HeartCoach/iOS/Views/OnboardingView.swift @@ -531,8 +531,10 @@ struct OnboardingView: View { // MARK: - Preview +#if DEBUG #Preview("Onboarding Flow") { OnboardingView() .environmentObject(LocalStore.preview) .environmentObject(HealthKitService.preview) } +#endif diff --git a/apps/HeartCoach/project.yml b/apps/HeartCoach/project.yml index 5079bb1..9ae550a 100644 --- a/apps/HeartCoach/project.yml +++ b/apps/HeartCoach/project.yml @@ -177,6 +177,44 @@ schemes: archive: config: Release + Thump Dev: + build: + targets: + Thump: all + ThumpCoreTests: [test] + ThumpUITests: [test] + run: + config: Debug + test: + config: Debug + gatherCoverageData: true + targets: + - ThumpCoreTests + - ThumpUITests + profile: + config: Release + analyze: + config: Debug + archive: + config: Release + + Thump Prod: + build: + targets: + Thump: all + run: + config: Release + test: + config: Release + targets: + - ThumpCoreTests + profile: + config: Release + analyze: + config: Release + archive: + config: Release + ThumpWatch: build: targets: