Duplicate Symbol Error in Objective-C build?

前端 未结 17 1996
礼貌的吻别
礼貌的吻别 2020-11-27 14:12

I got this error when I press build+debug:

ld: duplicate symbol .objc_class_name_BlogTableItemCell in /Users/fabian/Development/Workspaces/iphone_experiments         


        
17条回答
  •  遥遥无期
    2020-11-27 15:17

    iPhone: Duplicate Symbol Error? by user576924

    answered it correctly for me. However to find the offending gremlin this ZSH snippet.

    grep "import.*\.m" **/*.[hm]
    

    Will immediately tell you where your error is.

提交回复
热议问题