warning: duplicate protocol definition of '…' is ignored

后端 未结 4 976
不思量自难忘°
不思量自难忘° 2020-12-17 02:46

How should I respond to this warning?

warning: duplicate protocol definition of \'...\' is ignored

My protocol declaration is in

4条回答
  •  情深已故
    2020-12-17 03:01

    Check to make sure you don't have the header file added in your project twice, or two different files that both implement the protocol. This is what caused the warning to appear for me.

提交回复
热议问题