Issue building VLC for iOS in Yosemite

iOS, iPad, iPhone, tvOS specific usage questions
tk_vlc
New Cone
New Cone
Posts: 6
Joined: 19 Aug 2015 19:34

Issue building VLC for iOS in Yosemite

Postby tk_vlc » 19 Aug 2015 19:41

Hi, I downloaded the source for VLC for iOS from http://www.videolan.org/vlc/download-ios.html and then began following the build directions at https://wiki.videolan.org/iOSCompile

I already had Xcode installed in 10.10 so I proceeded to install CocoaPods using the Sudo-less installation method where I configured the RubyGems environment using the two export statements in the .profile file, as shown.

I then proceeded to build for execution in the iOS simulator with "sh compileVLCforiOS.sh -s"

I get the error

[info] Setup 'External' folders
ln: External/MobileVLCKit: No such file or directory

What am I missing?

Thanks

Sulik
New Cone
New Cone
Posts: 1
Joined: 20 Aug 2015 05:44

Re: Issue building VLC for iOS in Yosemite

Postby Sulik » 20 Aug 2015 05:47

Vlc for iOS already available in the App Store

tk_vlc
New Cone
New Cone
Posts: 6
Joined: 19 Aug 2015 19:34

Re: Issue building VLC for iOS in Yosemite

Postby tk_vlc » 20 Aug 2015 15:48

Felix (or anyone else), would you have any comment on how to build?

Sulik, I am wanting to build this locally because that is the only way to get the AC3 codec. Please see https://forum.videolan.org/viewtopic.php?f=36&t=127315 for explanation of this fact.

tk_vlc
New Cone
New Cone
Posts: 6
Joined: 19 Aug 2015 19:34

Re: Issue building VLC for iOS in Yosemite

Postby tk_vlc » 22 Aug 2015 19:36

OK, I figured that I need to build MobileVLCKit separately, first. I opened the Xcode project in the separate source tar ball and built it, but I get the error that <vlc/vlc.h> cannot be found. I search all the source tarballs and there is no file named vlc.h.

Felix, can you please update/clarify the build instructions for iOS and ensure all the required source code is in the downloadable sources so that a person can build this following the documented steps?

Thanks.

dfuhrmann
Developer
Developer
Posts: 1183
Joined: 02 Jul 2012 11:09

Re: Issue building VLC for iOS in Yosemite

Postby dfuhrmann » 22 Aug 2015 19:52

I opened the Xcode project in the separate source tar ball and built it
It is not enough to just "build" an Xcode project. You need to follow the howtos and invoke the correct scripts, which download additional required source code (this explains your missing vlc.h). See the scripts inside the tarballs (compileVLCforiOS.sh, and buildMobileVLCKit.sh for VLCKit).

tk_vlc
New Cone
New Cone
Posts: 6
Joined: 19 Aug 2015 19:34

Re: Issue building VLC for iOS in Yosemite

Postby tk_vlc » 22 Aug 2015 20:52

dfuhrmann, I had used compileVLCforiOS.sh, but made a mistake on MovileVLCKit. I ran the buildMobileVLCKit.sh and I got this error.

....
[info] Building for iphoneos
[info] Building vlc
[info] Building libvlc for iOS
[info] Using armv7 with SDK version 8.3
usage: dirname path
SDKROOT not specified, assuming /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk
[info] Building tools
./build.sh: line 30: pushd: //extras/tools: No such file or directory
[info] Building MobileVLCKit (Aggregate static plugins, Release)
[info] Building MobileVLCKit (MobileVLCKit, Release)
** BUILD FAILED **

Please advise.

I am using Xcode 6.3.1 in OS X 10.10.4.


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 5 guests