Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error "Class VCWeakObjectHolder is implemented in both..." is crashing debug sessions

I am getting following error all the time in my iOS app:

objc[56232]: Class VCWeakObjectHolder is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AVConference.framework/Frameworks/ViceroyTrace.framework/ViceroyTrace (0x12fe564d0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AVConference.framework/AVConference (0x12ef82e38). One of the two will be used. Which one is undefined.

The app itself runs fine but the debugger will not attach to the device process. The simulator does attach but the app crashes immediately after a breakpoint is hit.

I am running out of ideas on how to deal with it. Any help would be greatly appreciated.

like image 703
Rasto Avatar asked Apr 24 '18 05:04

Rasto


1 Answers

Simulator -> Hardware -> Erase all content and Settings...Works for me.

like image 160
user3664362 Avatar answered Oct 23 '22 05:10

user3664362