Skip to content

Instantly share code, notes, and snippets.

Created August 7, 2014 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/6317bf524eb725ea5522 to your computer and use it in GitHub Desktop.
Save anonymous/6317bf524eb725ea5522 to your computer and use it in GitHub Desktop.
Xamarin.iOS: USING STAGING SERVER FOR ACTIVATION
Please ensure your device is connected...
Connected to: iPhone
warning MT1003: Could not kill the application 'com.tesco.sampleapp'. You may have to kill the application manually.
warning MT1108: Could not find developer tools for this 8.0 (12A4345d) device. Please ensure you are using a compatible Xcode version and then connect this device to Xcode to install the development support files.
error MT1007: Failed to launch the application 'com.tesco.sampleapp' on the device 'iPhone': Look for earlier warnings returned: 0x454. You can still launch the application manually by tapping on it.
Loaded assembly: /private/var/mobile/Containers/Bundle/Application/8F751C5B-5DCF-4824-9744-6E68D9D930C3/iOSCoreTest.app/monotouch.dll [External]
Thread started: Finalizer #2
Loaded assembly: /private/var/mobile/Containers/Bundle/Application/8F751C5B-5DCF-4824-9744-6E68D9D930C3/iOSCoreTest.app/System.dll [External]
Loaded assembly: /private/var/mobile/Containers/Bundle/Application/8F751C5B-5DCF-4824-9744-6E68D9D930C3/iOSCoreTest.app/System.Core.dll [External]
Loaded assembly: /private/var/mobile/Containers/Bundle/Application/8F751C5B-5DCF-4824-9744-6E68D9D930C3/iOSCoreTest.app/System.Net.Http.Primitives.dll [External]
Loaded assembly: /private/var/mobile/Containers/Bundle/Application/8F751C5B-5DCF-4824-9744-6E68D9D930C3/iOSCoreTest.app/System.Net.Http.dll [External]
Loaded assembly: /private/var/mobile/Containers/Bundle/Application/8F751C5B-5DCF-4824-9744-6E68D9D930C3/iOSCoreTest.app/ModernHttpClient.dll [External]
Loaded assembly: /private/var/mobile/Containers/Bundle/Application/8F751C5B-5DCF-4824-9744-6E68D9D930C3/iOSCoreTest.app/iOSCoreTest.exe
2014-08-07 18:59:54.980 iOSCoreTest[398:57187] SendAsync start...
Thread started: <Thread Pool> #3
Thread started: <Thread Pool> #4
2014-08-07 18:59:55.259 iOSCoreTest[398:57187] Exception Details:
Message: Cannot cast from source type to destination type.
Stacktrace: at (wrapper castclass) object:__castclass_with_cache (object,intptr,intptr)
at MonoTouch.ObjCRuntime.Runtime.ConstructNSObject[NSUrlSessionDataTask] (IntPtr ptr, System.Type type, MissingCtorResolution missingCtorResolution) [0x00000] in <filename unknown>:0
at MonoTouch.ObjCRuntime.Runtime.GetNSObject[NSUrlSessionDataTask] (IntPtr ptr) [0x00000] in <filename unknown>:0
at MonoTouch.Foundation.NSUrlSession.CreateDataTask (MonoTouch.Foundation.NSUrlRequest request) [0x00014] in /Developer/MonoTouch/Source/monotouch/src/build/compat/Foundation/NSUrlSession.g.cs:138
at ModernHttpClient.NativeMessageHandler+<SendAsync>c__async0.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:62
at System.Runtime.CompilerServices.TaskAwaiter`1[System.Net.Http.HttpResponseMessage].GetResult () [0x00000] in <filename unknown>:0
at CoreTest.CoreTestViewController+<ExecuteQuery>c__async0.MoveNext () [0x000d3] in /Users/MM/Downloads/APIFails 2/iOSCoreTest-Individual/CoreTest/CoreTestViewController.cs:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment