Duplicate Symbol Error in Objective-C build?

前端 未结 17 2035
礼貌的吻别
礼貌的吻别 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 14:56

    The most common reason for this error is importing an xyz.m file instead of the xyz.h file. Check if your imports contain something like #import "----.m"

提交回复
热议问题