diff --git a/React/Base/RCTProfile.m b/React/Base/RCTProfile.m index 4ba99725b..71d34551e 100644 --- a/React/Base/RCTProfile.m +++ b/React/Base/RCTProfile.m @@ -16,6 +16,8 @@ #import "RCTLog.h" #import "RCTUtils.h" +#if DEBUG + #pragma mark - Prototypes NSNumber *RCTProfileTimestamp(NSTimeInterval); @@ -147,3 +149,5 @@ void RCTProfileImmediateEvent(NSString *name, NSTimeInterval timestamp, NSString @"args": RCTProfileGetMemoryUsage(), ); } + +#endif