appcenter-sdk-reacter-native-appcentEraCtnative.h tvos上找不到的文件

发布于 2025-01-24 07:45:53 字数 261 浏览 3 评论 0 原文

我正在尝试将AppCenter SDK添加到一个反应的TVOS应用程序中,但是当我添加时,我已经找到了AppCentEraCtnative.H文件,

#import <AppCenterReactNative.h>
#import <AppCenterReactNativeAnalytics.h>
#import <AppCenterReactNativeCrashes.h>

我已经在当然进行了POD安装

I am trying to add appcenter sdk to a react-native tvos app, but I get AppCenterReactNative.h file not found error when I add

#import <AppCenterReactNative.h>
#import <AppCenterReactNativeAnalytics.h>
#import <AppCenterReactNativeCrashes.h>

I already did a pod install of course

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

望她远 2025-01-31 07:45:53

当试图将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 had appcenter-analytics, appcenter-core, and appcenter-crashes in there. In appcenter-core, the AppCenterReactNative.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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文