From ded1c59209db8d7da21d59596c9ee2df24cd1a6f Mon Sep 17 00:00:00 2001 From: olivier Date: Wed, 8 Nov 2023 22:11:09 +0100 Subject: [PATCH] chore: fix build issue --- ios/VideoCaching/RCTVideoCache.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ios/VideoCaching/RCTVideoCache.m b/ios/VideoCaching/RCTVideoCache.m index 05ad65d447..985b54c8a4 100644 --- a/ios/VideoCaching/RCTVideoCache.m +++ b/ios/VideoCaching/RCTVideoCache.m @@ -30,7 +30,7 @@ - (id)init { options.useDirectorySeparation = NO; #ifdef DEBUG options.debugOutput = ^(NSString *string) { - RCTLog(@"Video Cache: %@", string); + NSLog(@"VideoCache: debug %@", string); }; #endif [self createTemporaryPath]; @@ -48,7 +48,7 @@ - (void) createTemporaryPath { error:&error]; #ifdef DEBUG if (!success || error) { - RCTLog(@"Error while! %@", error); + NSLog(@"VideoCache: Error while! %@", error); } #endif } @@ -64,7 +64,7 @@ - (void)storeItem:(NSData *)data forUri:(NSString *)uri withCallback:(void(^)(BO [self.videoCache storeData:data forKey:key locked:NO withCallback:^(SPTPersistentCacheResponse * _Nonnull response) { if (response.error) { #ifdef DEBUG - RCTLog(@"An error occured while saving the video into the cache: %@", [response.error localizedDescription]); + NSLog(@"VideoCache: An error occured while saving the video into the cache: %@", [response.error localizedDescription]); #endif handler(NO); return;