Xcode 15 Beta版本运行项目报错Assertion f

2024-03-06  本文已影响0人  倒着游的鱼

Xcode 15 Beta版本运行项目报错
运行旧版本项目编译报以下错误

Showing Recent Issues
Assertion failed: (aliasSectionNum == sectionNum && "alias and its target must be located in the same section"), function assignAliasAtomOffsetInSection, file Layout.cpp, line 3324.

Showing Recent Issues
Linker command failed with exit code 1 (use -v to see invocation)


截屏2024-03-07 13.28.12.png

解决:Build Settings -> Other Linker Flags 中添加 -ld64

image.png
上一篇 下一篇

猜你喜欢

热点阅读