Manual setup
Add SkeleKit to a plain or existing .NET for iOS project.
The project template only puts the following pieces together for you. If you already have a .NET for iOS project, or simply prefer to set it up yourself, SkeleKit can also be installed manually.
Requirements
Before installing SkeleKit, you need:
- A Mac with Xcode installed
- The .NET 10 SDK
- The .NET workload for iOS
- An iOS 18+ simulator or device
Install the iOS workload if it is not already available:
The .NET workload supports specific Xcode versions. If builds fail immediately after an Xcode update, check that the installed .NET SDK and iOS workload support that version of Xcode before debugging the application itself.
Create the iOS project
Start with the regular .NET for iOS template, or skip this step when adding SkeleKit to an existing project:
Make sure the project targets .NET 10 and iOS 18 or later:
Add SkeleKit
Install the framework package in the project directory:
SkeleKit.iOS includes the framework itself and the source generator.
Configure the scene delegate
SkeleKit creates the application window and root view controller through SkeleWindowSceneDelegate. Replace the old SceneDelegate in the Info.plist file as follows:
Delete the generated AppDelegate.cs and SceneDelegate.cs afterward. SkeleKit supplies the application and scene delegates instead.
Create the first page
Configure the application host
Replace the old Main.cs with the SkeleKit host:
SinglePage<MainView>() makes MainView the root of the application. Navigation stacks and tab-based applications is covered here.
Verify the setup
Build the finished project for the iOS simulator with:
If the build succeeds, the manually configured project is ready to run.