Home > Enterprise >  Class _PointQueue is implemented in both when I click on textfield... How can I resolve this issue?
Class _PointQueue is implemented in both when I click on textfield... How can I resolve this issue?

Time:11-23

I'm using xcode 13 and making a demo on coredata.

objc[6188]: Class _PathPoint is implemented in both /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) and /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). One of the two will be used. Which one is undefined.

objc[6188]: Class _PointQueue is implemented in both /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) and /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). One of the two will be used. Which one is undefined.

CodePudding user response:

Apple developer Quinn “The Eskimo!” @ Developer Technical Support @ Apple answered this question here:

This is not an error per se. Rather, it’s the Objective-C runtime telling you that:

  • Two frameworks within your process implement the same class (well, in this case classes, namely _PathPoint and _PointQueue).
  • The runtime will use one of them, choosing it in an unspecified way.

This can be bad but in this case it’s not. Both of the implementations are coming from the system (well, the simulated system) and thus you’d expect them to be in sync and thus it doesn’t matter which one the runtime uses.

So, in this specific case, these log messages are just log noise.

  • Related