Publishing app with VLCKit
Posted: 27 Oct 2016 15:44
I am trying to submit my Apple-tv application to the store, with a VLC-library. But when I try to archive this application, xCode sais that the library needs full Bitcode support.
So I googled what to do, and I found that I need a -fembed-bitcode flag (http://stackoverflow.com/questions/3123 ... to-bitcode). So I downloaded the VLCKit repository again to build the library again with that flag.
But while compiling (I have tried the branches: IOS-2.7, IOS-2.8 and Master), the compilation process fails. It fails due to errors like ‘Apple-TV simulator cannot run C compiled programs ( I believe this was branch IOS-2.8 ). Other fail: a dead download link for the ‘openjpeg-1.5.0.tar.gz’ file.
So my only option seemed to just build the IOS-2.8 branch, and change the ./buildMobileVLCKit.sh, so that the compilation does not include the simulator. I only changed the top part to this:
BUILD_DEVICE=yes
BUILD_SIMULATOR=no
BUILD_STATIC_FRAMEWORK=no
SDK=`xcrun --sdk iphoneos --show-sdk-version`
SDK_MIN=7.0
VERBOSE=no
CONFIGURATION="Release"
NONETWORK=no
SKIPLIBVLCCOMPILATION=no
SCARY=yes
TVOS=yes
BITCODE=yes
After compiling, I opened xCode to build the static library. But then xCode gave error messages, saying that the following files are missing.
- Libcompat.a
- Libvlc.a
- Libvlccore.a
I just want to upload my application to the App Store with VLCKit. How do I do this? I get errors when building a new static library, so can anyone tell me how to avoid these? Or can someone tell me how they got their application in the store? There is a VLC-application in the App Store for the Apple-tv, so it is possible.
So I googled what to do, and I found that I need a -fembed-bitcode flag (http://stackoverflow.com/questions/3123 ... to-bitcode). So I downloaded the VLCKit repository again to build the library again with that flag.
But while compiling (I have tried the branches: IOS-2.7, IOS-2.8 and Master), the compilation process fails. It fails due to errors like ‘Apple-TV simulator cannot run C compiled programs ( I believe this was branch IOS-2.8 ). Other fail: a dead download link for the ‘openjpeg-1.5.0.tar.gz’ file.
So my only option seemed to just build the IOS-2.8 branch, and change the ./buildMobileVLCKit.sh, so that the compilation does not include the simulator. I only changed the top part to this:
BUILD_DEVICE=yes
BUILD_SIMULATOR=no
BUILD_STATIC_FRAMEWORK=no
SDK=`xcrun --sdk iphoneos --show-sdk-version`
SDK_MIN=7.0
VERBOSE=no
CONFIGURATION="Release"
NONETWORK=no
SKIPLIBVLCCOMPILATION=no
SCARY=yes
TVOS=yes
BITCODE=yes
After compiling, I opened xCode to build the static library. But then xCode gave error messages, saying that the following files are missing.
- Libcompat.a
- Libvlc.a
- Libvlccore.a
I just want to upload my application to the App Store with VLCKit. How do I do this? I get errors when building a new static library, so can anyone tell me how to avoid these? Or can someone tell me how they got their application in the store? There is a VLC-application in the App Store for the Apple-tv, so it is possible.