打包 react native 的时候报错:
** BUILD FAILED **The following build commands failed:PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/zhangyu/Library/Developer/Xcode/DerivedData/rfApp-dibzynjzvmjgzggicajsawmubiue/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-BAA03CDD54BD491B53D0671A45B69E5F.sh
(1 failure)info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
解决
brew remove yarn
npm install yarn -g
重新安装了 yarn 最新版本,然后重新 yarn ios
就好啦