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

iOS, iPad, iPhone, tvOS specific usage questions
rtx06
New Cone
New Cone
Posts: 4
Joined: 21 Jun 2016 22:28

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

Postby rtx06 » 21 Jun 2016 23:13

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?

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

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

Postby fkuehne » 22 Jun 2016 11:00

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.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

rtx06
New Cone
New Cone
Posts: 4
Joined: 21 Jun 2016 22:28

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

Postby rtx06 » 22 Jun 2016 20:24

I sent you an email, thanks. For the vlc.git, it is there:

Image

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

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

Postby fkuehne » 23 Jun 2016 10:55

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).
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

rtx06
New Cone
New Cone
Posts: 4
Joined: 21 Jun 2016 22:28

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

Postby rtx06 » 07 Jul 2016 15:59

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

Mummy83
New Cone
New Cone
Posts: 2
Joined: 30 Sep 2016 03:39

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

Postby Mummy83 » 30 Sep 2016 04:09

I got the same error. Any one know how to fix it?

Great_Beaver
New Cone
New Cone
Posts: 1
Joined: 06 Jan 2017 18:20

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

Postby Great_Beaver » 06 Jan 2017 18:24

./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?

alexk
New Cone
New Cone
Posts: 2
Joined: 22 Feb 2017 10:09

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

Postby alexk » 22 Feb 2017 10:15

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

rmzrmz
New Cone
New Cone
Posts: 1
Joined: 10 Dec 2018 14:18

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

Postby rmzrmz » 10 Dec 2018 14:20

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


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

Who is online

Users browsing this forum: No registered users and 14 guests