Xamarin Studio - Could not connect to the debugger

My Xamarin iOS app will build successfully, however, during launch it will flash a black screen and immediately return to my phones home screen exiting my app without an error. 
Upon reviewing Xamarin Studio, the status appears at top:

Waiting for debugger to connect to Phone on port 10000 view USB...

and simply hangs for ~90 seconds. Afterwards the message "Could not connect to the debugger" appears within Xamarin Studio

 

编译没问题,release也能运行,就是无法debug,app一运行就闪退,在debug log中没有任何信息。换个iphone就好了。

Application output:

dyld: Library not loaded: @rpath/libmonosgen-2.0.dylib

==

 

今天发现解决方法了:

 

去掉iOS Build中Enable device-specific build,同时去掉incremental build就好了。👌

posted @ 2017-09-04 23:16  upcode-site  阅读(535)  评论(0编辑  收藏  举报