Natural Language framework error

 am using Natural Language framework on a Swift Playground XCode version is 13.0 (13A233) and sometimes at random, it stops processing the string and get these two errors:

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 (0x11f3eca78) 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 (0x131eb48b0). One of the two will be used. Which one is undefined.
objc[15209]: 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 (0x11f3eca50) 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 (0x131eb48d8). One of the two will be used. Which one is undefined.

It seems that something inside NLTagger is confused about these two classes but I cannot determine what is causing it, as sometimes it works fine and other times it shows these errors and the string is left without fully processing. Has anyone found this issue before and any potential solution? The playground seems to keep going, so it is not an error forwarded to my code, but the NLP process is not affecting all the string when it happens.