我的 React Native 版本是 0.60.5 。我试图安装 react-native-view-pdf 库。在构建 Xcode 时抛出错误说“在react-native-pdf问题中找不到 React/RCTBlobManager.h 文件”
问问题
93 次
1 回答
1
In your RCTPdfView.m file change the line "React/RCTBlobManager.h" with this
#if __has_include("RCTBlobManager.h")
#import "RCTBlobManager.h"
#else
#import <React/RCTBlobManager.h>
#endif
and delete your application in simulator if exist, then run your project again. I hope it works!
于 2022-01-10T11:31:20.380 回答