Echoprint iOS Missing Framework

流过昼夜 提交于 2019-11-30 05:21:32

问题


Has anyone downloaded the demo iOS version of EchoPrint? It's an audio fingerprinting open source software.

I just downloaded it but it appears to missing framework... any place to get a functioning version?


回答1:


Follow the steps to get it the framework running

  1. Download latest version of boost . The download link for latest 1.51.0 for boost library
  2. Extract the boost_1_51_0.tar.gz file.
  3. Download the project for generation of libechoprint-codegen-ios.a famework from here
  4. Open the project and set the Header Search Path as the path of the extracted boost folder. e.g. in my case the below is the path

    /Users/$(USER)/Downloads/boost_1_51_0/boost_1_51_0

  5. Open the echoprint-codegen-ios.xcconfig file and add the same path in the HEADER_SEARCH_PATHS

  6. Now clean and build the project would give you libechoprint-codegen-ios.a under Products folder
  7. Now download the Echoprint iOS Sample
  8. Building this project would give you Errors as the files of ASIHTTP folder and the libechoprint-codegen-ios.a framework is missing are not added to the xcode project but are physically present in the project Folder.

  9. Delete this folder from the project and drag-drop the physical folder to the xcode project. Also delete and add only the libechoprint-codegen-ios.a framework to this project from the previously compiled project.
  10. Now you are ready with an error-free code.



回答2:


Update for people who are still interested in this and are using XCode 5 + iOS 7 + LLVM 5.0.

I have forked the sample repo, upgraded it to XCode 5+ iOS 7 and modified it to automatically build in the echoprint-codegen dependency as a sub-project: https://github.com/rexstjohn/echoprint-ios-sample.

The above instructions will no longer work for the latest XCode + iOS.



来源:https://stackoverflow.com/questions/12135898/echoprint-ios-missing-framework

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!