Mas*_*son 9 iphone console nszombie ios
我尝试在谷歌搜索,并在试图弄清楚这意味着什么时,实际上没有结果.我的控制台正在记录:
objc[17048]: Class _NSZombie_GEOLatLng is implemented in both ?? and ??. One of the two will be used. Which one is undefined.
objc[17048]: Class _NSZombie_GEOLatLng is implemented in both ?? and ??. One of the two will be used. Which one is undefined.
objc[17048]: Class _NSZombie_GEOLocation is implemented in both ?? and ??. One of the two will be used. Which one is undefined.
objc[17048]: Class _NSZombie_GEOLocation is implemented in both ?? and ??. One of the two will be used. Which one is undefined.
Run Code Online (Sandbox Code Playgroud)
任何人以前看过这个,或者知道它意味着什么,是什么导致它,如果它是一个问题?
我已经看到了它.具体来说,在OS X上 - 但原因应该是相同的.GEOLocation(和其他)定义在两个加载到过程中的图像中.
如果这是您编写的类,则类的符号在多个目标文件中定义(可能是链接器错误,但是......),链接库,加载的包或某些组合 - 当代码可以动态加载时.
如果它不是您编写(或合成)的类,请向类的创建者提交错误.
该类也可以在您的应用中定义,也可以在链接库中定义.在那种情况下,您需要更改班级的名称.
这绝对是个问题.该类(具有该名称)被加载到objc运行时两次,并且无法保证在创建实例时将返回哪个实现,因为objc使用平面命名空间.
在这种情况下,该类存在于系统框架中,因此...将其发送给bug报告者 - 它值得快速修复.
| 归档时间: |
|
| 查看次数: |
3600 次 |
| 最近记录: |