Skip to content

Add a modulemap file in the framework bundle for tvOS and iOS

The builds for tvOS and iOS distributed on cocoapods/carthage use the static version of the framework. A framework bundle is created by the compileAndBuildVLCKit.sh script but miss the Module map file. This PR addresses this by adding a Module map file to the generated framework bundle.

By the way I'm curious to know why you chose to create a static framework and to repack it in a framework bundle. It may be better to distribute the the dynamic versions since the Module map is generated automatically.

This address the issue that prevents swift dynamic framework to use VLCKit.

We can now use the import command to include VLCKit:

swift

import TVVLCKit

objective-c

@import TVVLCKit;
Edited by Jeremy Marchand

Merge request reports