Class CaptureDelegate is implemented in both... issue.

0 votes
asked Jun 21, 2018 by ngc6543 (1,670 points)
edited Jun 21, 2018 by ngc6543
Hi, I recently found a log that I've missed.

objc[528]: Class CaptureDelegate is implemented in both /Path/To/MyApp.app/Contents/Plugins/EasyARUnity.bundle/Contents/MacOS/EasyARUnity (0x124b00dd0) and /Path/To/MyAPP.app/Contents/Plugins/opencvforunity.bundle/Contents/MacOS/libopencv_videoio.3.3.1.dylib (0x1154c8308). One of the two will be used. Which one is undefined.

At first I thought this warning is not critical since the app runs fine. But when I build the app for a standalone, sometimes the webcam feed was not right(wrong exposure/color). On worst case, the webcam device itself was lost from the system and I had to physically disconnect and reconnect the USB to make the webcam be recognized again.

Like the duplicated dylib name 'videoio`, I think the webcam issue might be triggered by this undefined behaviour. And I need both of the libraries to work.

Is there any way I can solve this issue?

1 Answer

0 votes
answered Jun 28, 2018 by albert52 (31,850 points)
If there is a specific test video, it can help me better solve your problem
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...