appcenter-sdk-reacter-native-appcentEraCtnative.h tvos上找不到的文件
我正在尝试将AppCenter SDK添加到一个反应的TVOS应用程序中,但是当我添加时,我已经找到了AppCentEraCtnative.H文件,
#import <AppCenterReactNative.h>
#import <AppCenterReactNativeAnalytics.h>
#import <AppCenterReactNativeCrashes.h>
我已经在当然进行了POD安装
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当试图将CodePush和AppCenter集成到我的React Native应用程序中时,我遇到了这个确切的问题。
我遵循说明设置AppCenter,包括添加AppCenter的YARN/NPM软件包,以及运行
POD install
,但是找不到AppCentEreReaCtnative.h找不到的错误。我找到了此页,de
我甚至在
/pods/development Pods/development pods
文件夹中进行了验证,我有appcenter-analytics
,,,代码> AppCenter-core 和appcenter-crashes
在其中。在appcenter-core
中,appcenterreactnative.h
就在其中。但是Xcode仍然没有找到它。
因此,Xcode不会构建或清洁。为了解决这个问题,我去了并清除了派生的数据。在Xcode的菜单上,转到
xcode-&gt;设置 - &GT;派生的数据(单击带路径的小箭头)
,然后我删除了派生数据中的所有文件夹,封闭XCode,重新打开并构建了项目,并且可以使用!希望这会有所帮助。
I was having this exact issue when trying to integrate CodePush and AppCenter into my React Native app.
I followed the instructions to set up AppCenter, including adding the yarn/npm packages for AppCenter, and running
pod install
, but was getting this error that AppCenterReactNative.h couldn't be found.I found this page, where the de
https://github.com/microsoft/appcenter-sdk-react-native/issues/713#issuecomment-534118574
I even verified in the
/Pods/Development Pods
folder that I hadappcenter-analytics
,appcenter-core
, andappcenter-crashes
in there. Inappcenter-core
, theAppCenterReactNative.h
was right in there.But Xcode still wasn't finding it.
Xcode wouldn't build or clean because of this. To fix this, I went and cleared my Derived Data. On the menu for Xcode, go to
Xcode -> Settings -> Derived Data (Click the small arrow with the path)
, then I deleted all the folders inside Derived Data, closed Xcode, re-opened it, and built the project, and it worked!Hopefully this helps.