iOS
iOS projects cannot currently be created. The iOS engine targets net8.0-ios, whose workload has reached end of life and is no longer available on the build machines, so the iOS engine is not built or published and the iOS option has been removed from the New Project and New Synced Project windows. This page and its sub-pages are kept for reference and for whenever the iOS project is retargeted. Existing iOS projects are unaffected — their NuGet packages are still published.
Introduction
FlatRedBall support development for iOS (iPhone and iPad) using .NET 8 (as of March 2024).
Creating a New iOS Project
To create a new iOS project, launch the FlatRedBall Editor, create a new project, and select iOS as your target platform. This option is not currently available — see the note above.
Troubleshooting
The MinimumOSVersion value in the Info.plist (11.0) does not match the SupportedOSPlatformVersion value (11.2)
You may see the following when deploying your project:
The MinimumOSVersion value in the Info.plist (11.0) does not match
the SupportedOSPlatformVersion value (11.2) in the project file
(if there is no SupportedOSPlatformVersion value in the project
file, then a default value has been assumed). Either change the
value in the Info.plist to match the SupportedOSPlatformVersion
value, or remove the value in the Info.plist (and add a
SupportedOSPlatformVersion value to the project file if it doesn't
already exist).Verify that your Info.plist Deployment Target matches your csproj's SupportedOSPlatformVersion.

Additional Information
If you have a NullReferenceException in Microsoft.Xna.Framework.Audio.OpenALSoundController.Update, and you are playing on the simulator, verify that audio is working properly on your Mac.
For information on errors playing SoundEffects and SounEffectInstances see the SoundEffectInstance page.
Last updated
Was this helpful?