Giter Site home page Giter Site logo

hockeyapp-monotouch's Issues

Crash reports don't actually tell me which exception was thrown...

I've deployed an app to HockeyApp which uses these bindings. I've also uploaded the .dSYM file that Xamarin Studio creates for my AD-HOC build. When a crash report comes into Hockeyapp, they do run the process to resurrect the stack trace that occurred, and I can see the line of code that had the unhandled exception... But, the crash report doesn't actually tell me what the exception was. Everything comes to HockeyApp with:

Exception Type: SIGABRT

I have followed the guidance in the readme.md of these bindings regarding the steps required in AppDelegate.

Here is a sample crash report from HocekApp. Line 10 is my code that was crashing due to a LINQ issue... but I'd never know that. Is there something else I need to do to set up my project to get the actual exception message in my Crash Reports?

Thread 0 Crashed:
1 libsystem_kernel.dylib _pthread_kill + 8
2 libsystem_c.dylib _abort + 95
3 EPRDiOS monotouch_throw_monotouch_exception (monotouch-glue.m:1369)
4 EPRDiOS mono_invoke_unhandled_exception_hook (mini-exceptions.c:2745)
5 EPRDiOS mono_thread_abort_dummy (mini.c:2809)
6 EPRDiOS mono_handle_exception_internal + 2149
7 EPRDiOS mono_handle_exception (mini-exceptions.c:1972)
8 EPRDiOS mono_arm_throw_exception (exceptions-arm.c:162)
9 EPRDiOS throw_exception + 68
10 EPRDiOS EPRD_BL_Managers_EPRDRegisterManager_OnRegisterSelected_int (EPRDRegisterManager.cs:97)
11 EPRDiOS EPRD_AL_TableSource_RowSelected_MonoTouch_UIKit_UITableView_MonoTouch_Foundation_NSIndexPath (TableSource.cs:137)
12 EPRDiOS wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 200
13 EPRDiOS mono_jit_runtime_invoke (mini.c:6457)
14 EPRDiOS mono_runtime_invoke (object.c:2827)
15 EPRDiOS native_to_managed_trampoline_EPRD_AL_TableSource_RowSelected (registrar.m:1809)
16 UIKit -[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 877
17 UIKit -[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 157
18 Foundation __NSFireDelayedPerform + 451
19 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION
+ 15
20 CoreFoundation CFRunLoopDoTimer + 273
21 CoreFoundation __CFRunLoopRun + 1233
22 CoreFoundation _CFRunLoopRunSpecific + 357
23 CoreFoundation _CFRunLoopRunInMode + 105
24 GraphicsServices _GSEventRunModal + 75
25 UIKit _UIApplicationMain + 1121
26 EPRDiOS wrapper_managed_to_native_MonoTouch_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr (:1)
27 EPRDiOS MonoTouch_UIKit_UIApplication_Main_string___string_string (UIApplication.cs:38)
28 EPRDiOS EPRD_iOS_Application_Main_string
(Main.cs:16)
29 EPRDiOS wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 200
30 EPRDiOS mono_jit_runtime_invoke (mini.c:6457)
31 EPRDiOS mono_runtime_invoke (object.c:2827)
32 EPRDiOS mono_runtime_exec_main (object.c:4052)
33 EPRDiOS mono_runtime_run_main (object.c:3678)
34 EPRDiOS mono_jit_exec (driver.g.c:962)
35 EPRDiOS main (main.m:489)

Implementing App Updates

@stampsy

Thanks so much for sharing this work. It's really appreciated.

I've followed your guidelines, but app updates are not happening. Is your sample AppDelegate configured to implement app updates as well as just crash reporting? In HockeyApp's documentation they describe an additional step - "Submit the UDID" (see below). Do we need to implement something similar with your binding?

http://support.hockeyapp.net/kb/client-integration/hockeyapp-for-ios

#pragma mark - BITUpdateManagerDelegate
- (NSString *)customDeviceIdentifierForUpdateManager:(BITUpdateManager *)updateManager {
#ifndef CONFIGURATION_AppStore
  if ([[UIDevice currentDevice] respondsToSelector:@selector(uniqueIdentifier)])
    return [[UIDevice currentDevice] performSelector:@selector(uniqueIdentifier)];
#endif
  return nil;
}

Also, on the step titled "Add Resource Bundle", the instructions need a slight mod for Xamarin Studio. It looks like the Display Options menu has been removed from projects. It's still present on the solution though.

UIActivity etc.

Hello,

i made everything you write for adding hockey into my app. - even added:

-gcc_flags "-framework CoreGraphics -framework CoreText -framework QuartzCore"

to additional build arguments.

But the build still falls for:

Undefined symbols for architecture armv7:
"OBJC_CLASS$_UIRefreshControl", referenced from:
objc-class-ref in libHockey.a(BITFeedbackListViewController.o)
"OBJC_CLASS$_UIActivity", referenced from:
OBJC_CLASS$_BITFeedbackActivity in libHockey.a(BITFeedbackActivity.o)
"OBJC_METACLASS$_UIActivity", referenced from:
OBJC_METACLASS$_BITFeedbackActivity in libHockey.a(BITFeedbackActivity.o)
ld: symbol(s) not found for architecture armv7

Thx for answer.
Jack

MonoMac port?

Hi there, any chance that you'll do a port of this wrapper to work with MonoMac (for Mac OS apps built in Xamarin), instead of MonoTouch?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.