基于ogg+speex通用语音包(github上jcccn/OggSpeex)该包在ios8下使用说明

基于ogg+speex通用语音包(github上jcccn/OggSpeex)该包在ios8下使用说明
http://blog.csdn.net/wanghongios/article/details/40187535

https://github.com/jcccn/OggSpeex

刚从github下载的包不能直接使用 需要做以下改动

将Classes和Libs文件拖进项目使用即可

1、问题1

could not read data from '/Users/mac/Downloads/speex_v2 2/OggSpeex-master/OggSpeex-ios/OggSpeexTests/OggSpeexTests-Info.plist': The file “OggSpeexTests-Info.plist” couldn’t be opened because there is no such file.
直接删除targets里面的OggSpeexTests

2、问题2

Lexical or Preprocessor Issue 'CADebugPrintf.h' file not found

target->项目->building setting->搜索Preprocessor Macros 删除该项默认配置的值

[!] The `HomeWork [Debug]` target overrides the `GCC_PREPROCESSOR_DEFINITIONS` build setting defined in `Pods/Target Support Files/Pods-HomeWork/Pods-HomeWork.debug.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

不使用这种方式,在github中查找文件,添加进去,在此找到https://github.com/nightCapLounge/Audio-Units;

3、问题3

echo_diagnostic.m 这个文件会有很多报错 直接将该文件干掉 并且 Libs文件下所有test开头的文件都没有用处 全都干掉

4、问题4

CADebugMacros.h:145:79: Invalid suffix on literal; C++11 requires a space between literal and identifier

在宏定义间增加空格,

你可能感兴趣的:(基于ogg+speex通用语音包(github上jcccn/OggSpeex)该包在ios8下使用说明)