xcode 15打包报错
1、报错信息
Assertion failed: (aliasSectionNum == sectionNum && "alias and its target must be located in the same section"), function assignAliasAtomOffsetInSection, file Layout.cpp, line 3358.
Linker command failed with exit code 1 (use -v to see invocation)
解决:
a. 选中 build setting
b. 搜索 other linker flags
c. 双击 添加 -ld64
2、/main.jsbundle does not exist. This must be a bug with
处理办法:
3、其他node 报错
node: --openssl-legacy-provider is not allowed in NODE_OPTIONS
Command PhaseScriptExecution failed with a nonzero exit code
解决办法:可以切换新的node版本(快速) ,或者删除 NODE_OPTIONS 环境变量中的 --openssl-legacy-provider 选项