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 選項

浙公網安備 33010602011771號