我有最新的Xcode(是12)和Xamarin ios(是14),但是我在运行程序时遇到了麻烦。问题不是我的代码,因为我创建了另一个新项目,也无法运行该项目。我也在Mac上尝试过,并得到了相同的错误。这是错误,如果有人帮助过我,我将不胜感激,我已经寻找答案好几天了。
错误:
system.aggregateexception:发生一个或多个错误。 ---> system.aggregateexception:发生一个或多个错误。 ---> monotouch.design.client.invalidsessionexception:应用程序中的错误。 at monotouch.design.client.serverprocessconnection.sendrequest(commandrequest req,boolean throwifnotrunning)at monotouch.design.client.serverprocessconnection.sendrequest [tresponse](commandrequest req,boolean throwifnotrunning)at monotouch.design.client.serverprocessconnection.createsession() system.threading.tasks.task 1.innerinvoke() at system.threading.tasks.task.execute() --- end of stack trace from previous location where exception was thrown --- at microsoft.visualstudio.telemetry.windowserrorreporting.watsonreport.getclrwatsonexceptioninfo(exception exceptionobject) --- end of inner exception stack trace --- at system.threading.tasks.task.throwifexceptional(boolean includetaskcanceledexceptions) at system.threading.tasks.task
上的monotouch.design.client.serverprocessconnection.b__28_0()在system.threading.tasks.task 1.get_result() at monotouch.design.client.iphonedesignersession.<>c__displayclass276_1
1.b__1(task { {1}} 2.innerinvoke()在system.threading.tasks.task.execute()---内部异常堆栈跟踪的结尾-在system.threading.tasks.task.throwifexceptional(布尔值includetaskcanceledexceptions)。在system.threading.tasks.task.wait()在monotouch.design.client.iphonedesignersession处的threading.tasks.task.wait(int32毫秒超时,cancellationtoken取消令牌)。<> c__displayclass276_0 1 t) at system.threading.tasks.continuationresulttaskfromresulttask
1.innerinvoke()在系统.threading.tasks.task.execute()---从先前位置开始的堆栈跟踪结束关于在何处引发异常---在system.runtime.com上的system.runtime.compilerservices.taskawaiter.throwfornonsuccess(任务任务)上