Duplicate symbol issues

后端 未结 8 907
Happy的楠姐
Happy的楠姐 2020-12-24 00:22

During a refactor of an iOS project, I ran into this bear of a bug. During the linking phase, I get this message:

ld: duplicate symbol _OBJC_IVAR_$_Ti

8条回答
  •  情歌与酒
    2020-12-24 01:00

    This problem solve here when I deleted (using Xcode) all files .m and .h from Class folder then I cleaned Project (Command + Shift + K) and Builded again. So I drag the files from Finder to Class Folder in Xcode again. Finally, I cleaned and build my Project again...

    Good Luck !!!

提交回复
热议问题