在构建反应本地0.68.0时,如何修复错误?

发布于 2025-02-09 04:14:22 字数 1036 浏览 1 评论 0原文

这个问题似乎在反应的github存储库中已知,但我找不到解决方案。

在版本 0.68.0 上构建一个新项目始终失败:

“在此处输入图像说明”

我尝试了许多解决方案。

这是我采取的最明显的故障排除步骤:

  • 重新启动计算机
  • 删除的podfile.lock
  • 更新的吊舱
  • 删除了与Xcode相关的所有内容,并重新安装了

我的同事,我都使用MBP。一切对他来说都很好,因为他能够构建> = 0.68.0 项目。

这是我的配置: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^而

什么提示?

编辑:创建一个0.69.0-rc.6项目,并正确构建。

The issue seems to be known on the React-Native github repo, but I'm not able to find a solution.

Building a new project on version 0.68.0 always fails with :

enter image description here

I tried many solutions found here and there.

Here are the most obvious troubleshooting steps I took :

  • Restarted computer
  • Deleted Podfile.lock
  • Updated pods
  • Removed everything related to Xcode and re-installed Xcode

My colleague and I both use a MBP. Everything works fine for him since he's able to build >= 0.68.0 projects.

Here's my configuration :
enter image description here
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ NOT BUILDING

Here's his configuration :
enter image description here
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ BUILDING

Any hint ?

EDIT : Created a 0.69.0-rc.6 project and it builds properly.

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

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

发布评论

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

评论(1

猫弦 2025-02-16 04:14:24

尝试在以下内容中删除文件:

〜/library/developer/xcode/deriveddata

,然后清洁构建文件夹并重建

try deleting files in the following:

~/Library/Developer/Xcode/DerivedData

then clean build folder and rebuild

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