-
Notifications
You must be signed in to change notification settings - Fork 6
Building from Source
StremioX Build edited this page Jun 9, 2026
·
4 revisions
You need macOS with Xcode, XcodeGen, Node and pnpm (for the iOS web bundle), Rust nightly with rust-src (for the tvOS engine), and a copy of Stremio's free macOS app (the streaming server is pulled out of it). MPVKit comes in over Swift Package Manager.
# 1) Streaming-server deps. server.js is not in this repo. Put Stremio's free macOS
# app at reference/macos/Stremio.app first, then:
./scripts/fetch-server-deps.sh
# 2) iOS only: build the stremio-web bundle
./scripts/build-web.sh
# 3) tvOS only: build the stremio-core engine into an xcframework (needs Rust nightly + rust-src)
./scripts/build-core-xcframework.sh
# 4) Generate the project and build (unsigned, for sideloading)
cd app && xcodegen generate
xcodebuild -scheme StremioX -sdk iphoneos -destination 'generic/platform=iOS' -configuration Release CODE_SIGNING_ALLOWED=NO build
xcodebuild -scheme StremioXTV -sdk appletvos -destination 'generic/platform=tvOS' -configuration Release CODE_SIGNING_ALLOWED=NO build
# 5) Wrap the built .app into an .ipa
./scripts/repackage-ipa.sh <dir-with-Payload> build/StremioX.ipaserver.js is not included because it is Stremio's own streaming server. It ships free inside their macOS app, so the script pulls it from a copy you provide instead of redistributing it.