diff --git a/ReactNativeViewPDF.xcodeproj/project.pbxproj b/ReactNativeViewPDF.xcodeproj/project.pbxproj index 9ccec5f..15bf930 100644 --- a/ReactNativeViewPDF.xcodeproj/project.pbxproj +++ b/ReactNativeViewPDF.xcodeproj/project.pbxproj @@ -188,6 +188,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = "$(SRCROOT)/../react-native/react/**"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; @@ -237,6 +238,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = "$(SRCROOT)/../react-native/react/**"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; diff --git a/ReactNativeViewPDF/PDFView.h b/ReactNativeViewPDF/PDFView.h index d0f1541..284097a 100644 --- a/ReactNativeViewPDF/PDFView.h +++ b/ReactNativeViewPDF/PDFView.h @@ -1,4 +1,4 @@ -#import +#import "RCTView.h" #import "PDFConstants.h" #import diff --git a/ReactNativeViewPDF/PDFViewManager.h b/ReactNativeViewPDF/PDFViewManager.h index c477728..36588f1 100644 --- a/ReactNativeViewPDF/PDFViewManager.h +++ b/ReactNativeViewPDF/PDFViewManager.h @@ -1,5 +1,5 @@ -#import -#import +#import "RCTViewManager.h" +#import "RCTConvert.h" #import "PDFView.h" @interface PDFViewManager : RCTViewManager