# iOS

### 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.

### 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.

<figure><img src="https://951240982-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_fye9Ufg3vzJxwX5Hk%2Fuploads%2FAfHEBlG6lTjdUwFI4lu9%2Fimage.png?alt=media&#x26;token=9062b0ed-b76f-42c3-b4db-c19b605c3d8e" alt=""><figcaption><p>Match Deployment Target to SupportedOSPlatformVersion</p></figcaption></figure>

### 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](https://github.com/flatredball/FlatRedBallDocs/blob/main/frb/docs/index.php).
