Skip to content

Commit

Permalink
Fix dogfooding branch build after adding tvOS support to develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ncreated committed Apr 4, 2022
1 parent 05201f2 commit 1db8993
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Datadog/RUM/RUMMonitor/Scopes/RUMViewScope.swift
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ internal class RUMViewScope: RUMScope, RUMContextProvider {
)
)

#if DD_SDK_ENABLE_INTERNAL_MONITORING
#if DD_SDK_ENABLE_INTERNAL_MONITORING && !os(tvOS)
if #available(iOS 15, *) {
// Starting MetricKit monitor from here, to ensure that our launch time was already reported
// in `.applicationStart` action and we could compare both measurements.
Expand Down Expand Up @@ -563,7 +563,7 @@ internal class RUMViewScope: RUMScope, RUMContextProvider {
/// THE FOLLOWING IMPLEMENTATION SHALL BE REMOVED ONCE
/// METRICKIT HAS BEEN EVALUATED.
///
#if DD_SDK_ENABLE_INTERNAL_MONITORING
#if DD_SDK_ENABLE_INTERNAL_MONITORING && !os(tvOS)
import MetricKit

/// The MetricMonitor only exists for internal testing, it will log the MetricKit payloads at reception to
Expand Down

0 comments on commit 1db8993

Please sign in to comment.