iCube is the Dolphin GameCube/Wii emulator app for iOS, iPadOS, and tvOS. The app target is generated with Tuist; the Dolphin core ships as a prebuilt PVlibDolphin.xcframework.
- macOS with Xcode 15+ (Xcode 16+ recommended)
- Homebrew
Install build tools:
brew install cmake ninja tuist bartycrouchClone with submodules:
git submodule update --init --recursiveThe Tuist workspace (iCube.xcworkspace) is gitignored and must be generated locally:
cd Source/iOS/App
tuist generateOpen Source/iOS/App/iCube.xcworkspace in Xcode.
There is no committed Xcode project: Tuist is the source of truth for project structure, and CI (build.yml, tests.yml, testflight.yml, release.yml) generates it the same way.
The app links against build/xcframework/PVlibDolphin.xcframework. The checked-in xcframework includes device slices only (ios-arm64, tvos-arm64).
| Goal | What to do |
|---|---|
| Build for a physical iPhone/iPad | Use the committed xcframework, or rebuild with python3 BuildiOSXCFramework.py from the repo root |
| Build for iOS Simulator | Rebuild the xcframework with simulator slices first (see below) |
| Rebuild the core after C++ changes | Run python3 BuildiOSXCFramework.py from the repo root; Xcode also triggers a core rebuild via the Build Dolphin Core script phase |
Rebuild all platforms (device + simulator, iOS + tvOS):
python3 BuildiOSXCFramework.py -aRebuild device slices only (default, faster):
python3 BuildiOSXCFramework.pyThe first full core build compiles a large CMake/Ninja tree and can take 30–60+ minutes depending on hardware. Subsequent builds are incremental.
From the repo root, after tuist generate:
iOS device (no code signing):
xcodebuild \
-workspace Source/iOS/App/iCube.xcworkspace \
-scheme "iCube (NJB)" \
-configuration "Release (Non-Jailbroken)" \
-destination "generic/platform=iOS" \
CODE_SIGNING_ALLOWED=NO \
buildiOS Simulator (requires simulator slices in the xcframework):
xcodebuild \
-workspace Source/iOS/App/iCube.xcworkspace \
-scheme "iCube (NJB)" \
-configuration "Debug (Non-Jailbroken)" \
-destination "generic/platform=iOS Simulator" \
CODE_SIGNING_ALLOWED=NO \
build| Scheme | Use |
|---|---|
iCube (NJB) |
Non-jailbroken sideload / development |
iCube (JB) |
Jailbroken / TrollStore builds |
iCube (AppStore) |
App Store configuration |
For local device installs, set your team ID in Source/iOS/App/Project/Config/DevelopmentTeam.xcconfig and bundle identifier in BundleIdentifier.xcconfig. Command-line builds above disable signing with CODE_SIGNING_ALLOWED=NO for CI and smoke tests.
| Symptom | Likely cause |
|---|---|
no such module / missing workspace |
Run tuist generate in Source/iOS/App |
building for iOS Simulator, but linking in … built for iOS |
Rebuild xcframework with -a to include simulator slices |
| Missing Externals/watcher sources | Run git submodule update --init --recursive |
| Long first build | Expected — the Dolphin core CMake build runs on first link |