diff --git a/FirebasePerformance/Tests/Unit/Timer/FPRCounterListTest.m b/FirebasePerformance/Tests/Unit/Timer/FPRCounterListTest.m index d31cd61c6e1..7691891f9e2 100644 --- a/FirebasePerformance/Tests/Unit/Timer/FPRCounterListTest.m +++ b/FirebasePerformance/Tests/Unit/Timer/FPRCounterListTest.m @@ -19,6 +19,10 @@ #import "FirebasePerformance/Sources/Public/FirebasePerformance/FIRPerformance.h" #import "FirebasePerformance/Sources/Timer/FPRCounterList.h" +// This test requires the UNSWIZZLE_AVAILABLE preprocessor macro to be defined in order to complete +// successfully. See FPRSelectorInstrumentor.m for more details. +#ifdef UNSWIZZLE_AVAILABLE + @interface FPRCounterListTest : XCTestCase @end @@ -162,3 +166,5 @@ - (void)testCounterInitializeWithNegativeValue { } @end + +#endif // UNSWIZZLE_AVAILABLE