feat: KSPlayer as an option for iOS + other improvements (#1266)

This commit is contained in:
Fredrik Burmester
2026-01-03 13:05:50 +01:00
committed by GitHub
parent d1795c9df8
commit 74d86b5d12
191 changed files with 88479 additions and 2316 deletions

View File

@@ -0,0 +1,23 @@
#!/usr/bin/env bash
set -euo pipefail
if [[ "$(uname -s)" != "Darwin" ]]; then
echo "Metal Toolchain install is only relevant on macOS."
exit 0
fi
if xcrun --find metal >/dev/null 2>&1; then
echo "Metal tool found: $(xcrun --find metal)"
exit 0
fi
echo "Metal toolchain missing."
echo "Installing via: xcodebuild -downloadComponent MetalToolchain"
echo "If this fails, ensure Xcode is selected (xcode-select) and you accepted the license."
echo
xcodebuild -downloadComponent MetalToolchain
echo
echo "Done. Verify with: xcrun --find metal && xcrun metal -v"