0

I was facing some issues with opencv2.framework in iOS related to bitcode. While searching on the internet, I found this post regarding creating the opencv2.framework with bitcode support enabled.

First 3 steps run successfully but on 4th step, i am facing some issue. I dont know whether these are issues regarding to python or something else. Kindly help me. Here are the logs.

enter image description here

Community
  • 1
  • 1
  • Hi I am Yan from the post you referred to. Did you try compiling OpenCV without modifying any switches? If you can, then that's the problem of bitcode. But if you still can't, that means you don't have some dependencies installed. From the error message, it seems that the compilation script cannot find some executable files. – grapeot Jan 07 '17 at 00:46
  • @grapeot Thanks Yan. I think its issue related to python or some other dependencies. Well I am not very good at python. It'll be great if you could please provide me the opencv2.framework with bitcode enabled. You can refer me some link where i can download or it would be better if you could send me zip file. Thanks.. –  Jan 08 '17 at 13:45
  • 1
    It's actually in the post you referred to. :) In the first paragraph, there are two Dropbox links. – grapeot Jan 09 '17 at 17:44
  • @grapeot Yeah found the same. I am so dumb, how can i missed that. Thanks a lot buddy.. – Himanshu Garg Jan 11 '17 at 12:14

1 Answers1

0

I get the same issue. My solution is that:

  1. Check cmake has been installed. If not, use home brew to install cmake: brew install cmake.

  2. Then run python ../bulid_framework.py <your_save_dic>

Good luck.

stephenmuss
  • 2,445
  • 2
  • 20
  • 29
misumisu
  • 51
  • 3