Building for iOS¶
Doriax can target iOS for your exported game projects, using the Metal graphics backend and the native Apple app backend.
Requirements¶
- A Mac with Xcode installed
- An Apple Developer account for deploying to physical devices
- CMake (for building the engine from source)
Workflow¶
- Install Xcode and its Command Line Tools (
xcode-select --install). - Open the generated Xcode workspace for your exported project.
- Select a simulator or a connected device, then build and run from Xcode.
Command-line build¶
The engine repository contains Xcode workspace/project templates under
engine/workspaces/xcode/. For simulator testing, use Xcode or xcodebuild:
cd engine/workspaces/xcode
xcodebuild build -sdk iphonesimulator -project Doriax.xcodeproj \
-configuration Debug -scheme "Doriax iOS"
iOS runtime builds use Metal and set the deployment target to iOS 13.0 in the engine configuration.
Tooling is being refreshed
iOS project export and the Xcode workspace tooling are being updated under the Doriax name. Some paths may still reference the legacy Supernova layout while the transition completes. Check the repository for current details.