iOS 报错:objc[1334]: Class X ... One of the two will be used. Which one is undefined

来源:互联网 发布:淘宝网男士休闲运动鞋 编辑:程序博客网 时间:2024/05/17 05:17

报如下信息错误:

objc[1334]: Class A is implemented in both PATHA and PATHB. One of the two will be used. Which one is undefined.

原因:

因为具有相同名称的类被加载两次。

解决办法如下:

修改A类的名字。

0 0
原创粉丝点击