背景
今天打了一个旧分支的包抛出了如下错误,之前遇到过时间久远渐渐忘记了,这里记录一下处理过程。
完整错误内容
(aliasSectionNum == sectionNum && "alias and its target must be located in the same section"), function assignAliasAtomOffsetInSection, file Layout.cpp, line 3358
解决方案
这个是升级到 Xcode15 后打包出现的错误,处理方案:项目Target -> Other Linker Flags -> 添加-ld64
友情提示
见原文:【XCode问题】aliasSectionNum == sectionNum)
本文同步自微信公众号 "程序员小溪" ,这里只是同步,想看及时消息请移步我的公众号,不定时更新我的学习经验。