Base solution for your next web application
Open Closed

Error compiling Xamarin Form Project on an iOS Device #10139


User avatar
0
[email protected] created

Prerequisites

  • What is your product version? 10.2
  • What is your product type (Angular or MVC)? Xamarin.Forms
  • What is product framework type (.net framework or .net core)? .net core

If issue related with ABP Framework

  • What is ABP Framework version? ABP 6.2

When compiling the Xamarin.Forms app in Visual Studio for Mac on Big Sur 11.2.2. The following error occurs:

Visual Studio for Mac is fully updated. The phone I'm trying to run it on is an iphone 12 pro max on 14.4.

Visual Studio profile Debug | iPhone > My iPhone. Provisioning provide Automatic attached to our Apple Developer Account.

The application runs fine on a simulator of the same hardware.


4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    I have found an issue on Xamarin repository similar to this one, https://github.com/xamarin/xamarin-macios/issues/8944.

    I couldn't understand the reason or the solution about this problem. Could you try to rebuild the solution a few times and see if it succeeds ?

  • User Avatar
    0
    [email protected] created

    Hi ismcagdas, I've tried rebuilding, and cleaning the solution multiple times. I've restarted the phone and the Mac as well. Still get the above error. If I set the build profile to Release | iPhone the error changes to this:

  • User Avatar
    0
    [email protected] created

    I downloaded a brand new blank 10.2 project and tried to build the .ios project using the release iphone build profile and got the same above error.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Could you create an issue on https://github.com/aspnetzero/aspnet-zero-core. We will investigate it.

    Thanks,