Linker error while building Gstreamer iOS Tutorial project
gstreamer, ios, iphone, objective-c, xcode
Solution
FOUND IT!!!
No issues with the framework. I just had to add libiconv.dylib in Build Phases -> Link binary with libraries. No linker errors after that!
Problem
I downloaded and installed Gstreamer iOS library from their site. I copied the tutorial to my own folder and tried to build the project in Xcode. I got the following linker error. I'm geting no clues about this. The Gstreamer.framework is linked against all targets. ``` Undefined symbols for architecture armv7: "_iconv_open", referenced from: __nl_find_msg in GStreamer(libintl_a_armv7_-dcigettext.o) (maybe you meant: _g_iconv_open) "_iconv", referenced from: __nl_find_msg in GStreamer(libintl_a_armv7_-dcigettext.o) (maybe you meant: _iconv_canonicalize, _g_iconv_close , _g_convert_with_iconv , _g_iconv , _g_iconv_open ) ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation) ``` What OBVIOUS thing am I missing here? SOLUTION No issues with the framework. I just had to add libiconv.dylib in Build Phases -> Link binary with libraries. No linker errors after that!