iOS17及Xcode15 Assertion failed: (aliasSectionNum == sectionNum && “alias and its target must be loca
Xcode15 运行老项目报错:Assertion failed: (aliasSectionNum == sectionNum && "alias and its target must be located in the same section"), function assignAliasAtomOffsetInSection, file Layout.cpp, line 3248.如下图
·
Xcode15 运行老项目报错:Assertion failed: (aliasSectionNum == sectionNum && "alias and its target must be located in the same section"), function assignAliasAtomOffsetInSection, file Layout.cpp, line 3248.
或者:Assertion failed: (aliasSectionNum == sectionNum && "alias and its target must be located in the same section"), function assignAliasAtomOffsetInSection, file Layout.cpp, line 3324.
如下图:
解决方案:Build Settings -> Other Linker Flags
中增加 -ld64
如下图:
更多推荐
已为社区贡献1条内容
所有评论(0)