单击文本字段时,CLASS_PointQueue在两者中实现.我如何解决此问题? [英] Class _PointQueue is implemented in both when I click on textfield... How can I resolve this issue?

查看:52
本文介绍了单击文本字段时,CLASS_PointQueue在两者中实现.我如何解决此问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Xcode 13并在CoreData上进行演示。

objc[6188]:在/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore(0x114a8fa78)和/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI(0x12cd4a8b0)中都实现了CLASS_PathPoint。将使用这两个选项中的一个。哪一个是未定义的。

objc[6188]:在/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore(0x114a8fa50)和/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/TextInputUI.framework/TextInputUI(0x12cd4a8d8)中都实现了CLASS_PointQueue。将使用这两个选项中的一个。哪一个是未定义的。

推荐答案

苹果开发者Quinn"The Eskimo!"@开发者技术支持@苹果回答了这个问题here

这本身不是错误。相反,它是Objective-C运行时告诉您的:

  • 流程中的两个框架实现相同的类(在本例中为_PathPoint和_PointQueue)。
  • 运行库将使用其中之一,并以未指定的方式进行选择。

这可能很糟糕,但在本例中并非如此。这两个实现都来自系统(嗯,模拟系统),因此您会期望它们是同步的,因此运行时使用哪一个并不重要。

因此,在此特定情况下,这些日志消息仅为log noise

这篇关于单击文本字段时,CLASS_PointQueue在两者中实现.我如何解决此问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆