I have the following method:
ApiResponse<T> PostMultipart<T>(string uploadUrl, NameValueCollection formParamters, params UploadFile[] uploadFiles);
UploadFile is just Poco:
public class UploadFile { public string FilePath { get; set; } public string ContentType { get; set; } public string ParameterName { get; set; } }
By calling this method, each of them works fine on a simulator with "Debug | iPhoneSimulator" and on my iPod Touch with iOS 5.1.1 with "Release | iPhone".
But when I start debugging the application on the device ("Debug | iPhone"), I get the following exception:
System.ExecutionEngineException: attempted by the JIT compilation method "Xyz.Api.ApiClient: PostMultipart (string, System.Collections.Specialized.NameValueCollection, Xyz.Api.UploadFile [])" while working with -aot-only. See http://docs.xamarin.com/ios/about/limitations for more details.
I do not see any relevant information on the linked page. And I canβt understand why this behavior only occurs when debugging on the phone.
Can anyone else understand what is going on here? :)
source share