Page 1 of 1

Issue building VLC for iOS app - vlc-plugins-iPhone.h file not found

Posted: 21 Jun 2016 23:13
by rtx06
I work for a company and I am attempting to build the VLC for iOS IPA file using the source code provided here: http://www.videolan.org/vlc/download-ios.html. We want to build the IPA file so that we can sign the app with our developer cert and wrap it with our toolkits for enterprise deployment. I begin by following the instructions provided here: https://wiki.videolan.org/IOSCompile/. I run the compile and it downloads all of the required files into the ImportedSources folder. I then run CocoaPods to download all of the necessary files into the Pods folder. I then open the xcode workspace project file, xcode opens, and everything looks good. But when I attempt to run the build it fails and shows there are two files that are missing, vlc-plugins-iPhone.h and vlc-plugins-AppleTV.h. Screenshot of error and files:

Image

During the compile and CocoaPods there are three issues I run into before I attempt to build:

1. In the compileVLCforiOS.sh file, the GDrive svn link is broken and has to be updated to https://github.com/google/google-api-objectivec-client.
2. CocoaPods has one Pod, MetaDataFetcherKit, that fails to install due to the following error: "SSL: certificate verification failed (result: 5)". So I downloaded the Pod files and copied them in manually.
3. At the end of the compileVLCforiOS there is the following error:

"SDKROOT not specified, assuming /Applications/Xcode.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS9.2.sdk
[info] Building tools
./build.sh: line 40: pushd: //extras/tools: No such file or directory"


Any help with the error for those two .h files?

Re: Issue building VLC for iOS app - vlc-plugins-iPhone.h file not found

Posted: 22 Jun 2016 11:00
by fkuehne
The script failed to checkout the vlc.git for some reason which should be located in

Code: Select all

ImportedSources/VLCKit/MobileVLCKit/ImportedSources
.

Maybe it's easier for your scenario to provide you with a custom build as an xcarchive? Email me at fkuehne at videolan dot org if you are interested.

Re: Issue building VLC for iOS app - vlc-plugins-iPhone.h file not found

Posted: 22 Jun 2016 20:24
by rtx06
I sent you an email, thanks. For the vlc.git, it is there:

Image

Re: Issue building VLC for iOS app - vlc-plugins-iPhone.h file not found

Posted: 23 Jun 2016 10:55
by fkuehne
Yep, the script failed to build VLC.

Re-run the compilation script with the -n option and if it doesn't succeed, post the entire log please (on a designated platform like http://hastebin.com).

Re: Issue building VLC for iOS app - vlc-plugins-iPhone.h file not found

Posted: 07 Jul 2016 15:59
by rtx06
Two items:
1) I'm a dummy. The folder I put the project files into had a space in its name, which is why the compile was failing. Once I removed the space the vlc folder was created and files showed up within it.
2) I'm now seeing a different issue in the middle of the VLCKit build (see error and screenshot):
[info] building universal static libs for OS style iPhone
./buildMobileVLCKit.sh: line 44: pushd: MobileVLCKit/ImportedSources/vlc/install-ios-iPhoneOS: No such file or directory
Looks like the build scripts isn't adding the "OS" into the folder name?

Image

Re: Issue building VLC for iOS app - vlc-plugins-iPhone.h file not found

Posted: 30 Sep 2016 04:09
by Mummy83
I got the same error. Any one know how to fix it?

Re: Issue building VLC for iOS app - vlc-plugins-iPhone.h file not found

Posted: 06 Jan 2017 18:24
by Great_Beaver
./buildMobileVLCKit.sh: line 44: pushd: MobileVLCKit/ImportedSources/vlc/install-ios-iPhoneOS: No such file or directory

I have this issue too, and have no idea how to fix it. Maybe someone can give a clue?

Re: Issue building VLC for iOS app - vlc-plugins-iPhone.h file not found

Posted: 22 Feb 2017 10:15
by alexk
The same issue.
Building from folder: VLCKit-3.0.0-pre3-4f2606e9bc081237708694667dc3eeac7f6392bc
downloaded and extracted from http://get.videolan.org/vlc-iOS/2.7.4/V ... re3.tar.gz
the download link is published on page:
http://www.videolan.org/vlc/download-ios.html

Terminal output:
[info] building universal static libs for OS style iPhone
./buildMobileVLCKit.sh: line 44: pushd: MobileVLCKit/ImportedSources/vlc/install-ios-iPhoneOS: No such file or directory

Re: Issue building VLC for iOS app - vlc-plugins-iPhone.h file not found

Posted: 10 Dec 2018 14:20
by rmzrmz
Getting following error:

building universal static libs for OS style iPhone
./buildMobileVLCKit.sh: line 44: pushd: MobileVLCKit/ImportedSources/vlc/install-ios-iPhoneOS: No such file or directory