IDZPrecompiledVorbis
IDZPrecompiledVorbis copied to clipboard
bitcode issue
first, thanks for supporting this framework!!
i use the framework, but it has an link error when i try to build for iOS device.
log is follow: ld: '/Users/super-iMac/Documents/Developer/Xcode/Test Source/HOHOHO/Vorbis.framework/Vorbis(vorbisfile.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
actually, Xcode doesn't complain when i import only Ogg.framework and Vobis.framework. but it complains when i import IDZOggVorbisFileDecoder.mm
so i try to find out where cause the problem. and i found it.
the point is, when i use following methods like : ov_open_callbacks() or ov_info() in -(id)initWithContentsOfURL:error:
when i use any method for decoding, Xcode complains.
but i need to use that methods to decode .ogg file :(
i know if i off bit code option in Xcode, it works. but i want to know to use bit code if it possible.
i tested: iPhone 6s (iOS 9.2) Xcode 7.2(7C68) Objective-C use cocoaPods. (but i think it doesn't matter)
how can i fix this? please help me.