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)
I'm still getting this error after changing Acr.UserDialogs to version 5.0.1
EDIT - Not sure if this fixed it or it was a coincidence, but i downgraded xlabs in the iOSproject (I had recently updated) and it seems to have fixed the issue
Answers
same problem here
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.
I am also getting this error trying to build against iOS 9.3.1 with newest XForms
If you are using Acr.UserDialogs 5.1, I believe it is the cause at the moment. Downgrade to 5.0.1
I am using 5.1.1 It did not though!
Use 5.0.1, not 5.1.1 and it will fix the issue
Thanks @AllanRitchie : I have same this problem. I downgraded to Acr.UserDialogs 5.0.1 version. It worked for me.
I'm still getting this error after changing Acr.UserDialogs to version 5.0.1
EDIT - Not sure if this fixed it or it was a coincidence, but i downgraded xlabs in the iOSproject (I had recently updated) and it seems to have fixed the issue