K
K
Kirill2021-10-27 23:54:47
Apple Xcode
Kirill, 2021-10-27 23:54:47

What causes a warning in the xcode console and what does it mean?

I recently started learning swift. But after the last update, xcode started giving this warning to the console after executing playground projects:
objc[3038]: 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 (0x117152a78) 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 (0x130ffc8b0). One of the two will be used. Which one is undefined.
objc[3038]: 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 (0x117152a50) 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 (0x130ffc8d8). One of the two will be used. Which one is undefined.
Tell me how to fix this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Resly, 2021-12-10
@Resly34

Apparently, your error is not fully described, this is not an error, but a warning that you are using two objects at the same time, and xcode cannot determine which one has priority, and selects one according to its own algorithm.
If everything works for you, ignore this warning, apparently it does not cause any problems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question