Swift Framework with OpenCV Dynamic Framework, Library not loaded

眉间皱痕 提交于 2019-12-06 13:31:28

You might just need to add the frameworks to the Embedded Binaries of the app. See this answer.

Sidenote: are you sure your solution of creating an OpenCV dynamic framework is going to work out for your end users? You are forcing your end users to add the OpenCV dependency to their app - they will have to in order for your framework to function.

BUT, if OpenCV is only distributed officially as a static library, that means your customers will be adding it to their project as a static lib. I'm not sure if your framework, which is looking for a dynamically linked OpenCV, will be able to use the statically linked OpenCV library. Happy to be proven wrong about this though.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!