Hello Sagar Khati,
You need to ensure that your project is correctly targeting architectures compatible with both iOS devices and iOS simulators. In your .csproj or build settings, check for the following:
- For a .NET MAUI or Xamarin.iOS project, ensure you have both
arm64
(for physical devices) andx86_64
(for simulators) in your Supported Architectures settings. - Modify the
RuntimeIdentifier
(RID) to ensure it targets both device and simulator builds, like so:<PropertyGroup> <RuntimeIdentifiers>ios-arm64;ios-x86_64</RuntimeIdentifiers> </PropertyGroup>