From 8998b883868f6038d8192a2e01c4321f305120af Mon Sep 17 00:00:00 2001 From: Philip Su Date: Sat, 10 Dec 2022 19:39:26 -0800 Subject: [PATCH] fix: load auto-generated Swift import header correctly This addresses #117, and gets the header to import correctly in modern versions of Xcode. --- .../ios/ReactNativePerformance/ReactNativePerformance.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native-performance/ios/ReactNativePerformance/ReactNativePerformance.m b/packages/react-native-performance/ios/ReactNativePerformance/ReactNativePerformance.m index 4852113..dbb4bb5 100644 --- a/packages/react-native-performance/ios/ReactNativePerformance/ReactNativePerformance.m +++ b/packages/react-native-performance/ios/ReactNativePerformance/ReactNativePerformance.m @@ -1,5 +1,5 @@ #import "ReactNativePerformance.h" -#import "ReactNativePerformance-Swift.h" +#import static NSTimeInterval startupTimestamp = -1.0;