gpt4 book ai didi

react-native - 使用未声明的标识符 'UIUserInterfaceIdiomTV'

转载 作者:行者123 更新时间:2023-12-04 19:43:46 25 4
gpt4 key购买 nike

在我的 React-Native 应用程序上安装 fbsdk 后,我收到此错误:

Use of undeclared identifier 'UIUserInterfaceIdiomTV'

这是在文件 Pods > FBSDKCoreKit > FBSDKOrganicDeeplinkHelper.m

即使我帮助一个和我做的完全一样的 friend ,我也得到了这个,但她没有得到它。
我尝试从头开始重新安装所有内容,以检查错误是否来自我没有使用最新版本,但我仍然遇到此错误。

一个快速的解决方法是简单地从 switch (device.userInterfaceIdiom) 中删除这个案例。 ,但我希望有人以前遇到过这个错误,或者知道它可能来自哪里。

谢谢!

最佳答案

我有同样的错误。您可以通过将 Xcode 更新到最新版本(目前为 7.3.1)来修复此错误。

关于react-native - 使用未声明的标识符 'UIUserInterfaceIdiomTV',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37199416/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com