当前环境
macOS 14.7
xcode 16
ruby 3.3.5
node 18.20.4
cocoapods 1.15.2
问题一: FlipperPlatformWebSocket
修改方式
:flipper_configuration => FlipperConfiguration.disabled
...
问题 二: Command PhaseScriptExecution failed with a nonzero exit code
/Users/xushuangle/Documents/RNTest/MyDome700/ios/Pods/../../node_modules/react-native/React/FBReactNativeSpec/../../scripts/xcode/with-environment.sh: line 35: .xcode.env: command not found
/Users/xushuangle/Documents/RNTest/MyDome700/ios/Pods/../../node_modules/react-native/React/FBReactNativeSpec/../../scripts/xcode/with-environment.sh: line 35: node: command not found
[Warning] You need to configure your node path in the environment. You can set it up quickly by running: echo 'export NODE_BINARY=' > .xcode.env in the ios folder. This is needed by React Native to work correctly. We fallback to the DEPRECATED behavior of finding . This will be REMOVED in a future version. You can read more about this here: https://reactnative.dev/docs/environment-setup#optional-configuring-your-environment
[Error] Could not find node. It looks like that the .xcode.env or .xcode.env.local
Command PhaseScriptExecution failed with a nonzero exit code
修改方式
echo export NODE_BINARY=$(command -v node) > .xcode.env.local