Closed HEYGUL closed 7 years ago
The issue seems to be with gPhoto2 library, which you have installed, but I don't, because it is not used on iOS - iOS uses AVFoundation
framework under the hood to access camera. Now, I am not sure why, but seems that cmake
picks this setting when building the framework and attempts to link to it. The library you have installed has no armv7 (probably no armv7s or arm64) architecture, so linking fails. One solution would be to ensure that libgphoto2.dylib
library you have installed also contains architectures for iOS (armv7 and arm64). The other to somehow ensure cmake does not read this setting when building for iOS.
Thank you for your quick reply, I will check why cmake wants to include libgphoto2
.
I removed libgphoto2
and now it is working :-]
Trying to add opencv to my application, I declared the pod in my Podfile:
Unfortunately, it ends failing with these warnings:
Followed by linking issues:
Any idea on how to make it successful.