duplicate symbols for architecture i386 clang

后端 未结 24 1177
悲哀的现实
悲哀的现实 2020-11-29 20:33

I\'ve seen several posts on google and stackoverflow related to this error, I\'ve read all of them but still fetching the problem , I will be glad for a solution. Here is th

24条回答
  •  萌比男神i
    2020-11-29 20:53

    If other people have tried all the other answers and it still isn't working, try opening up the .xcodeproj file with your favorite text editor and searching for the name of the class that's giving you trouble. Make sure you close Xcode before doing this. In the file, there should be one line for the .h and another line for the .m. If there are duplicates, remove them, save the file, and re-build.

提交回复
热议问题