An iOS project needs to use the OPENCV, and to support the arm64, there was a demo, only 32-bit support. Download the latest support 64-bit library to the official website, the result compilation cannot pass.
Google for a long time can not solve, and then asked a colleague, find out why. 64 bit has made some changes. Need to re-add some header files.
Included error is done, other problems come again, C + + compiler library and another project conflict. Can only be modified, slowly one by one to troubleshoot the problem.
It's finally done.
Summarize several points:
1, according to the error prompt, locate the specific problem location, through the relevant Lipo-info find the reference library supported version
2, do not suspect the official version of the problem, it is a waste of time
3, think good to try again can save a lot of time.
Think twice before you can.
Fixes for several OpenCV iOS compilation issues