当前位置:   article > 正文

iOS17及Xcode15 Assertion failed: (aliasSectionNum == sectionNum && “alias and its target must be loca

assertion failed: (aliassectionnum == sectionnum && "alias and its target mu

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

如下图:

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/IT小白/article/detail/276668?site
推荐阅读
相关标签
  

闽ICP备14008679号