reactnativecn / react-native-website

React Native 中文网
https://reactnative.cn
MIT License
216 stars 328 forks source link

大佬们 求帮忙看看 yarn ios 启动 一直报错 PhaseScriptExecution [CP-User]\ Generate\ Specs #569

Closed dedencLichKing closed 2 years ago

dedencLichKing commented 2 years ago

系统 MacBook Pro (16-inch, 2019) macOS Monterey 12.1 Xcode版本 13.2.1 react版本 0.67.3

使用yarn iOS 或者xcode运行都会报错 错误如下 没有中文路径 都是英文 image image

podfile按照提示已修改为 如下 而且pod install依赖都下载下来了 image

package.json内容如下 image

image

折腾了一天的环境了 也是按照官网一步步来的 请问拿这种事什么问题 缓存什么也都清理了

实在不知道如何解决这个问题 求指点一下

alantoa commented 2 years ago

看报错应该是 xCode 没找到 node 路径 运行一下

ln -s $(which node) /usr/local/bin/node

之后,清理下xcode build目录再试一下

dedencLichKing commented 2 years ago

你好 我才回过头来回复你, 我这边node路径应该是没有问题的 ln: /usr/local/bin/node: File exists 感觉就是编译的时候哪里除了问题,xcode的缓存什么的都清理了还是不行 还是会报两个错误 image

github-actions[bot] commented 2 years ago

👋 Hey there, it looks like there has been no activity on this issue in the last 90 days. Has the issue been fixed, or does it still require the community attention? This issue will be closed in the next 7 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 2 years ago

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.