Forum Xamarin.Forms

Linking question

Anurag.9113Anurag.9113 USMember ✭✭

Trying to build Release. This is Xamarin forms 2.2.0.31.
Compiled against latest Xcode and iOS SDK. (9.3.1)

This error goes away when No linking is selected from the Compiler menu.
Error MT2002: Failed to resolve "System.Void CoreGraphics.CGRect::.ctor(System.Single,System.Single,System.Single,System.Single)" reference from "Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065" (MT2002) (iOS)

Best Answer

Answers

  • MKSMKS USMember ✭✭

    same problem here

  • ScottSmith.8367ScottSmith.8367 USMember ✭✭

    I am experiencing the same thing as well after updating to Xamarin.Forms.2.2.0.31. I get the error even when building a debug version for a 'real' iOS device instead of the iOS simulator.

  • JulienRosenJulienRosen CAMember ✭✭✭✭
    edited May 2016

    I am also getting this error trying to build against iOS 9.3.1 with newest XForms

  • AllanRitchieAllanRitchie CAInsider, University ✭✭✭

    If you are using Acr.UserDialogs 5.1, I believe it is the cause at the moment. Downgrade to 5.0.1

  • Anurag.9113Anurag.9113 USMember ✭✭

    I am using 5.1.1 It did not though!

  • AllanRitchieAllanRitchie CAInsider, University ✭✭✭

    Use 5.0.1, not 5.1.1 and it will fix the issue

  • TranGiangNamTranGiangNam USMember

    @AllanRitchie said:
    If you are using Acr.UserDialogs 5.1, I believe it is the cause at the moment. Downgrade to 5.0.1

    Thanks @AllanRitchie : I have same this problem. I downgraded to Acr.UserDialogs 5.0.1 version. It worked for me.

Sign In or Register to comment.