You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.
It looks like the opencv static libraries weren't compiled as they should have been. You can see the difference in architectures vs the CardIO static library:
% file libopencv_core.a
libopencv_core.a: Mach-O universal binary with 3 architectures
libopencv_core.a (for architecture armv7s): current ar archive random library
libopencv_core.a (for architecture armv7): current ar archive random library
libopencv_core.a (for architecture arm64): current ar archive random library
% file libCardIO.a
libCardIO.a: Mach-O universal binary with 5 architectures
libCardIO.a (for architecture armv7): current ar archive random library
libCardIO.a (for architecture armv7s): current ar archive random library
libCardIO.a (for architecture i386): current ar archive random library
libCardIO.a (for architecture x86_64): current ar archive random library
libCardIO.a (for architecture arm64): current ar archive random library
The text was updated successfully, but these errors were encountered:
Since the iOS simulator lacks a camera, the simulator builds (x86_64, i386) are not supposed to include the OpenCV libraries. All OpenCV calls in card.io are under an appropriate compiler flag.
Thus, the OpenCV static libraries do not need to be built for x86_64 and i386.
Sounds like the project is failing to exclude these libraries for these architectures.
Should be fixed in release 5.2.2. The x86_64 and i386 slices were added. Even though they aren't used, removing them presented problems with Carthage support, so the short term solution is a temporary size increase in the OpenCV libraries.
After updating from 5.2.0 to 5.2.1 we started getting a new warning:
It looks like the opencv static libraries weren't compiled as they should have been. You can see the difference in architectures vs the CardIO static library:
The text was updated successfully, but these errors were encountered: