无法使用xcode 13构建,我一直收到此错误。
我已经试过这个帖子里的所有东西了,但是都不起作用,https://github.com/react-native-community/upgrade-support/issues/161
我再次删除了repo,但仍然得到相同的错误。我没办法了,有谁能帮帮忙吗?
/bin/sh -c /Users/xxx/Library/Developer/Xcode/DerivedData/xxx-glxuojrfejxbhqgircpjgklctbto/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-85ABEEFECFDEC6A1611D2CF5A77EABBC.sh
/Users/xxx/apps/xxx/node_modules/react-native/scripts/generate-specs.sh: line 27: readlink: command not found
/Users/xxx/apps/xxx/node_modules/react-native/scripts/generate-specs.sh: line 27: dirname: command not found
/Users/xxx/apps/xxx/node_modules/react-native/scripts/generate-specs.sh: line 27: cd: : No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code
使用xcode 13、RN 64.2、macOS Big Sur 11.6
发布于 2021-09-23 18:12:02
已通过修改generate-specs.sh
修复
https://github.com/facebook/react-native/issues/32157#issuecomment-915165442
https://stackoverflow.com/questions/69304308
复制相似问题