dyld not loaded Reason: image not found libopencv_core.2.4.dylib

前端 未结 3 1512
小鲜肉
小鲜肉 2021-01-04 14:08

I\'m still quite new to Objective C and Xcode, but I just finished a small app that uses the openCV libopencv_core.2.4.2.dylib.

When I went to open the

3条回答
  •  离开以前
    2021-01-04 14:38

    I found a better solution: recompiling openCV in Xcode and set the @executable_path/../Frameworks in the build settings, for every .dylib you compile - now the .dylibs themselves always "know where they are".

提交回复
热议问题