stremio/apps/ios/scripts/link-tvvlckit.sh
Jos Vooges | STH ac951617cb Add Live Events across API/admin/Android TV, mobile ClearKey/DASH fixes, and tvOS app.
Wire FAAB schedule-events into master-api and admin IPTV settings, add Android TV Events UI, fix mobile ClearKey/stream playback (DASH + bump 1.0.23), and scaffold the Apple TV (VMCTV) client with docs/scripts.
2026-09-18 23:34:42 +02:00

20 lines
715 B
Bash

#!/bin/bash
set -euo pipefail
IOS="$HOME/Code/mediacluster/apps/ios"
mkdir -p "$IOS/Vendor"
XC=$(find /tmp/tvvlcunpack -type d -name 'TVVLCKit.xcframework' | head -1)
if [ -z "$XC" ]; then
XC=$(find /tmp/tvvlcunpack -type d -name '*.xcframework' | head -1)
fi
if [ -z "$XC" ]; then
echo "TVVLCKit.xcframework not found under /tmp/tvvlcunpack — run fetch-tvvlckit.sh first"
find /tmp/tvvlcunpack -maxdepth 4 -type d | head -40
exit 1
fi
rm -rf "$IOS/Vendor/TVVLCKit.xcframework"
cp -R "$XC" "$IOS/Vendor/TVVLCKit.xcframework"
ls -la "$IOS/Vendor/TVVLCKit.xcframework"
echo "Linked to $IOS/Vendor/TVVLCKit.xcframework"
echo "Open VMCTV.xcodeproj — framework path is already Vendor/TVVLCKit.xcframework"