C# Project ios export problems

Godot Version

4.2.1 mono


I am stuck trying to export my game to X-Code. The build is failing and the output log looks something like this:

The command ""clang" ... " exited with code 1. /Users/titus/.nuget/packages/microsoft.dotnet.ilcompiler/8.0.1/build/Microsoft.NETCore.Native.targets(364,5)

If more details are needed I would be happy to add them.
I pasted the entire error message here.