VLCKit iOS8 cocoapod building

This forum is about all development around libVLC.
Matthijss22
New Cone
New Cone
Posts: 1
Joined: 18 Apr 2016 14:03

VLCKit iOS8 cocoapod building

Postby Matthijss22 » 18 Apr 2016 14:44

Hi everybody,

I started working on an iOS application that uses VLCKit to display the RTSP stream from IP-cameras.
First I tried to get the simpleplayback example working with cocoa pods. This worked out quite well and I got it running without too much effort. After this I tried integrating this example into my existing application, which resulted into 78 times "Undefined symbols for architecture i386", saying things like:
std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const", referenced from:
TagLib::String::find(TagLib::String const&, int) const in MobileVLCKit(tstring.cpp.o)
TagLib::String::split(TagLib::String const&) const in MobileVLCKit(tstring.cpp.o)
I soon found out that the simpleplayback example has the same problem when the Deployment target is increased from 6.1 to 7.0 or higher. Dropping the deployment target from 8.0 to 6.1 on my own application also seemed to get it running. This is all fine for now, but the application I'm building will eventually need to have deployment target 8.0.
Does anybody know what the problem is? I tried changing things like the linker flags, but didn't find the problem yet. I'm having the idea it's extremely simple, but I just don't see the problem.
Other linker flags:
$(inherited) -ObjC -l"bz2" -l"iconv" -l"stdc++" -l"xml2" -l"z" -framework "AVFoundation" -framework "AudioToolbox" -framework "CFNetwork" -framework "CoreGraphics" -framework "CoreText" -framework "MediaPlayer" -framework "MessageUI" -framework "MobileVLCKit" -framework "OpenGLES" -framework "QuartzCore" -framework "Security"
Thank you in advance!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLCKit iOS8 cocoapod building

Postby Jean-Baptiste Kempf » 28 Jun 2016 10:01

missing libstd linking.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 10 guests