Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Conflict with OpenCV #2160

Open
MarkerwApk opened this issue Nov 20, 2023 · 2 comments · May be fixed by #2175
Open

[iOS] Conflict with OpenCV #2160

MarkerwApk opened this issue Nov 20, 2023 · 2 comments · May be fixed by #2175

Comments

@MarkerwApk
Copy link

MarkerwApk commented Nov 20, 2023

Hi,

I can't build app with plugin and OpenCv Library. I have conflicts:

`duplicate symbol 'OBJC_CLASS$_Converters' in:
/Users/user/Workspace/Flutter/libero/build/ios/Debug-gkDev-iphoneos/flutter_local_notifications/flutter_local_notifications.framework/flutter_local_notifications4
/Users/user/Workspace/Flutter/libero/ios/opencv2.framework/Versions/A/opencv2[arm64]841

duplicate symbol 'OBJC_METACLASS$_Converters' in:
/Users/user/Workspace/Flutter/libero/build/ios/Debug-gkDev-iphoneos/flutter_local_notifications/flutter_local_notifications.framework/flutter_local_notifications4
/Users/user/Workspace/Flutter/libero/ios/opencv2.framework/Versions/A/opencv2[arm64]841

d: 2 duplicate symbols
clang: error: linker command failed with exit code 1 (use -v to see invocation)
`

Can You help me found solution?

@MarkerwApk MarkerwApk changed the title Conflict with OpenCV [iOS] Conflict with OpenCV Nov 20, 2023
@MaikuB
Copy link
Owner

MaikuB commented Nov 30, 2023

Not able to help you with this with my knowledge. Ideas that comes to mind are perhaps the issue is with the library you're using or there's a clash in that both have the same class name. If it's the latter then it means that both libraries may need to consider changing the name. You may possibly need to also consider a fork. Happy for you to submit a PR that renames the class to this plugin as well

@MarkerwApk
Copy link
Author

I create PR: #2175

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants