Page 1 of 1

MobileVLCKit for iOS with bitcode enabled

Posted: 06 Jul 2016 00:06
by mikyfalcom
Hi all,

I'm frustrated.

What should I do to compile the library, with bitcode, for use on iPhone / iPad (no TVOS!)?

This is the sequence of commands that I tried:
- git clone http://code.videolan.org/videolan/VLCKit.git --> OK NO ERROR
- ./buildMobileVLCKit.sh --> OK NO ERROR
- ./buildMobileVLCKit.sh -b --> FAILED WITH THE FOLLOWING ERROR

clang: warning: optimization flag '-fno-rounding-math' is not supported
clang: warning: optimization flag '-fno-signaling-nans' is not supported
In file included from /Users/michele/Desktop/vlclib/VLCKit/MobileVLCKit/ImportedSources/vlc/modules/audio_filter/channel_mixer/simple.c:262:
/Users/michele/Desktop/vlclib/VLCKit/MobileVLCKit/ImportedSources/vlc/modules/audio_filter/channel_mixer/simple_neon.h:50:1: error:
implicit declaration of function 'vlc_CPU_ARM_NEON' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
NEON_WRAPPER(7_x,2_0)
^
/Users/michele/Desktop/vlclib/VLCKit/MobileVLCKit/ImportedSources/vlc/modules/audio_filter/channel_mixer/simple_neon.h:47:16: note:
expanded from macro 'NEON_WRAPPER'
return vlc_CPU_ARM_NEON() ? DoWork_##in##_to_##out##_neon : DoWork_##in##_to_##out; \
^
1 error generated.
make[4]: *** [audio_filter/channel_mixer/libsimple_channel_mixer_plugin_la-simple.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


You can help me?

The configuration of my system is:
- OSX 10.11.5
- Xcode 7.3.1 (7D1014)

Thank you very much.

Re: MobileVLCKit for iOS with bitcode enabled

Posted: 12 Jul 2016 08:39
by mervynokm
Hi, are we able build the MobileVLCKit for iOS with bitcode support now? Am still unable to do so with the VLCKit-iOS-2.8-4d09d0f5e580f7c17169a0936dbadc69f56b5e95 build

Re: MobileVLCKit for iOS with bitcode enabled

Posted: 12 Jul 2016 13:42
by mikyfalcom
No, compilation with bitcode support always fails.
I also tried VLC-Kit-iOS-2.8 but it fail again.

Has anyone found a solution?

Re: MobileVLCKit for iOS with bitcode enabled

Posted: 13 Jul 2016 10:54
by mervynokm
Sigh :/ samples using Cocoapods work though. Just not the building of the static framework with bitcode via the script

Re: MobileVLCKit for iOS with bitcode enabled

Posted: 13 Jul 2016 12:03
by fkuehne
We don't support bitcode for iOS as of yet. Bitcode is only available to tvOS builds at the moment. While the changes are potentially trivial to do (you just need to edit the build script for VLCKit), we currently don't have resources available to allocate to that.