问题
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
- Download latest version of boost . The download link for latest 1.51.0 for boost library
- Extract the boost_1_51_0.tar.gz file.
- Download the project for generation of libechoprint-codegen-ios.a famework from here
- 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
- Open the echoprint-codegen-ios.xcconfig file and add the same path in the HEADER_SEARCH_PATHS
- Now clean and build the project would give you libechoprint-codegen-ios.a under Products folder
- Now download the Echoprint iOS Sample
- 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.
- 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.
- 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