2016-12-09 3 views
1

안녕하세요 저는 Windows 10에서 Visual Studio 커뮤니티 2015와 함께 Xamarin을 사용합니다. 빌드 호스트로 iPhone5 iOS 10.1 Simulator와 함께 Mac OSX 10.11.5 (El Capitan)을 사용합니다. 빌드/실행/약 30 분 동안 문제없이 내 응용 프로그램을 디버깅하는으로 VisualStudio 후 시뮬레이터의 출력 창을 응용 프로그램을 실행보다는 응용 프로그램을 구축 보여줍니다iPhone 시뮬레이터의 실행 응용 프로그램이 시간이 지나면 실패했습니다

Launching 'myapp.iOS' on 'iPhone 5 iOS 10.1'... 
Launch failed. The app 'myapp.iOS' could not be launched on 'iPhone 5 iOS 10.1'. Error: The post for client vs10440Matze on topic xvs/idb/4.2.1.64/launch-app has been cancelled. Please check the logs for more details. 
The app has been terminated. 

Ide.log의 윈도우 머신에서 내가 볼 수 있습니다 :

Xamarin.Messaging.Client.MessagingClient Warning: 0 : [2016-12-09 10:48:38.4481] The post for client vs10440Matze on topic xvs/idb/4.2.1.64 /launch-app has been cancelled 
System.OperationCanceledException: The operation was canceled. 
at System.Threading.CancellationToken.ThrowOperationCanceledException() 
at System.Threading.CancellationToken.ThrowIfCancellationRequested() 
at Xamarin.Messaging.Client.MessagingClient.<PostAsync>d__23`2.MoveNext() 
맥 - buildhost210

나는 볼 수

IDB.log을 :

/Users/matze/Library/Caches/Xamarin/XMA/Agents/IDB/4.2.1.64/mlaunch --launchsim "/Users/matze/Library/Caches/Xamarin/mtbs/builds/myapp.iOS/85cb5165734f657bdd8719a918480bd0/bin/iPhoneSimulator/Debug/myapp.iOS.app" --device=:v2:udid=7E78B8AC-ACAB-4A11-AC9B-443766774A58 -argument=-monodevelop-port -argument=56852 --sdkroot "/Applications/Xcode.app/Contents/Developer" -sdk 10.1 
Xamarin.Messaging.IDB.MTouch Information: 0 : [2016-12-09 00:31:41.4471] MTouch Run Terminated 
Xamarin.Messaging.Client.MessagingClient Error: 0 : [2016-12-09 00:31:41.5180] An error occured on client IDB42164 while executing a reply for topic xvs/idb/4.2.1.64/launch-app 
Xamarin.Messaging.Exceptions.MonotouchException: An error occurred while executing MTouch 
at Xamarin.Messaging.IDB.MTouch+<RunAsync>d__8.MoveNext() [0x0024a] in <003fb8ef983c4ea5910c8a47fc9dde09>:0 
--- End of stack trace from previous location where exception was thrown --- 
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() [0x0000c] in /private/tmp/source-mono-4.6.0/bockbuild-mono-4.6.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143 
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /private/tmp/source-mono-4.6.0/bockbuild-mono-4.6.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:187 
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /private/tmp/source-mono-4.6.0/bockbuild-mono-4.6.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:156 
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /private/tmp/source-mono-4.6.0/bockbuild-mono-4.6.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:128 
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult() [0x00000] in /private/tmp/source-mono-4.6.0/bockbuild-mono-4.6.0-branch/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:535 
at Xamarin.Messaging.IDB.MTouch+<RunAsync>d__7.MoveNext() [0x0007b] in <003fb8ef983c4ea5910c8a47fc9dde09>:0 

또한 내가 Build.log 종종 메시지를 반복에서 볼 수있는 구축하는 동안 :

Xamarin.Messaging.Client.ApplicationMessageExtensions Warning: 0 : [2016-12-09 02:09:28.1124] Payload Type Xamarin.Messaging.Build.Contracts.ExecuteTaskMessage is incompatible with the requested content type Xamarin.Messaging.Build.Contracts.CopyItemMessage 
Xamarin.Messaging.Client.ApplicationMessageExtensions Warning: 0 : [2016-12-09 02:09:28.5254] Payload Type Xamarin.Messaging.Build.Contracts.CopyItemMessage is incompatible with the requested content type Xamarin.Messaging.Build.Contracts.GetItemMessage 
Xamarin.Messaging.Client.ApplicationMessageExtensions Warning: 0 : [2016-12-09 02:09:27.6058] Payload Type Xamarin.Messaging.Build.Contracts.CompareItemsMessage is incompatible with the requested content type Xamarin.Messaging.Build.Contracts.GetItemMessage 

으로 VisualStudio이 중지 디버깅 뷰는 즉시. Visualstudio를 다시 시작하면 다시 발생할 때까지 도움이됩니다.

도움에 대해 매우 고맙게 생각합니다.

답변

1

Visual Studio를 닫고 다시여십시오. 이렇게하면 문제가 해결됩니다.

+0

이미 "다시 시작될 때까지 Visualstudio가 다시 시작됩니다."라고 썼습니다. 하지만 그게 내가 찾고있는 솔루션의 종류가 아니야. – Eisen

+0

나는이 문제를 두 번이나 가지고있어. 문제는 Xamarin이 iMac에서 실행하는 Mac Agent 때문입니다. VS 다시 시작, 에이전트의 새 인스턴스를 다시 시작하십시오. – Magic

관련 문제