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

 

 

posted @ 2024-05-31 21:04  zhengyan_web  阅读(253)  评论(0编辑  收藏  举报