How I built VLC for iOS today. If you like, you can read my rant about the politics of Mobile VLC.
YMMV – this is a very active project it seems. The steps are probably the same, but your error resolution may be different. If you don’t care about getting the latest and greatest, I *could* zip up my build directory and throw it online, in case that would help.
1. git clone git://git.videolan.org/MobileVLC.git
In doing this, I got the error (YMMV, this may be fixed):
[info] Building MobileVLCKit (MobileVLCKit) ** BUILD FAILED ** The following build commands failed: MobileVLCKit: Libtool /Users/will/iphone/OSS/MobileVLC/ImportedSources/vlc/projects/macosx/framework/build/Release-iphoneos/libMobileVLCKit.a normal armv7 (1 failure)
Running in verbose mode reveals the actual line – it can’t find the xtag.a library.
Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/libtool: can't open file: MobileVLC/ImportedSources/vlc/projects/macosx/framework/../../../install-ios-Simulator/lib/vlc/plugins/misc/libxtag_plugin.a
[edited for brevity]
Don’t bother trying to open the library xcode projects – if that shell script doesn’t finish, it won’t work.
This failure was due to it trying to link in the “xtag” library, which apparently is no longer needed.
To fix, edit the file:
and remove the line:
3. Finally, from the MobileVLC project, build the project and run
This blog details a previous successful attempt at getting this compiled, I didn’t actually use these steps since it seems the source is now different from then – but there it is anyway.
Good luck with VLC – if you’re an iOS developer, why not provision a few friends and give them a private copy of VLC.
After all, VLC really *makes* iOS devices…