Skip to content
Snippets Groups Projects
Forked from VideoLAN / VLCMediaLibraryKit
89 commits behind, 1 commit ahead of the upstream repository.
Soomin Lee's avatar
Soomin Lee authored
When building VLCKit, the builscript for it should take care of
everything it needs to compile correctly.
b7be78d8

VLCMediaLibraryKit

VLCMediaLibraryKit is a wrapper of the VideoLAN medialibrary in Objective-C/C++.

Installation

Cocoapods

To integrate VLCMediaLibraryKit into your project, specify it in your Podfile:

pod 'VLCMediaLibraryKit'

Then, run the following command:

pod install

Building

A build script named buildVLCMediaLibraryKit.sh is available on the repository.

Usage:

    -v      Be more verbose
    -d      Enable debug mode
    -m      Skip medialibrary compilation
    -n      Skip script steps requiring network interaction
    -c      Clean all target build
    -s      Enable medialibrary build for simulators
    -x      Skip medialibrary dependencies build
    -a      Build for specific architecture(all|i386|x86_64|armv7|armv7s|aarch64)
    -p      VLCKit path(default is ~/)

In able to build VLCMediaLibraryKit, you need VLCKit compiled for the architecture you want to build. By default, if -p SPECIFIC_PATH_TO_VLCKIT is not passed to the build script, it will try to find VLCKit starting from the user home directory.

Example:

./buildVLCMediaLibraryKit.sh -vc

./buildVLCMediaLibraryKit.sh -vdca aarch64

./buildVLCMediaLibraryKit.sh -vdca x86_64 -p SPECIFIC_PATH_TO_VLCKIT

After a successfull build, a VLCMediaLibraryKit.framework can be found in the build directory.