Open alicompiler opened 7 years ago
i used these command for installation
npm i react-native-pdf-view --save react-native link react-native-pdf-view react-native run-ios
but an error occurred : build fail
4 warnings and 17 errors generated. ** BUILD FAILED ** The following build commands failed: CompileC /Users/macbookpro/Workspace/Projects/Wizary/Wizary/ios/build/Build/Intermediates/RNPDFView.build/Debug-iphonesimulator/RNPDFView.build/Objects-normal/x86_64/RNPDFViewManager.o RNPDFView/RNPDFViewManager.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure)
+1
Changing your package.json to pull from the most recent version should fix this problem
"react-native-pdf-view": "git+https://github.com/cnjon/react-native-pdf-view.git",
found the solution linked here
i used these command for installation
but an error occurred : build fail