Yea, that uploaded lib is missing bit code.
But compiling from the project (run the build script, then archive from Xcode) worked.
Code: Select all
# Clone the repo
git clone http://code.videolan.org/videolan/VLCKit.git
cd VLCKit
# run the build script
./buildMobileVLCKit.sh -t
# Archive with xcode
xcodebuild -project "MobileVLCKit.xcodeproj" -target "TVVLCKit" -sdk appletvos9.1 -configuration Release ARCHS="arm64" IPHONEOS_DEPLOYMENT_TARGET=9.1 GCC_PREPROCESSOR_DEFINITIONS=""
xcodebuild -project "MobileVLCKit.xcodeproj" -target "TVVLCKit" -sdk appletvsimulator9.1 -configuration Release ARCHS="x86_64" IPHONEOS_DEPLOYMENT_TARGET=9.1 GCC_PREPROCESSOR_DEFINITIONS=""
# Create the framework
cd build
rm -rf TVVLCKit.framework
mkdir TVVLCKit.framework
lipo -create Release-appletvos/libTVVLCKit.a Release-appletvsimulator/libTVVLCKit.a -o TVVLCKit.framework/TVVLCKit
chmod a+x TVVLCKit.framework/TVVLCKit
cp -pr Release-appletvos/TVVLCKit TVVLCKit.framework/Headers
Return to “VLC for iOS, iPadOS and Apple TV”
Users browsing this forum: No registered users and 30 guests