Thoughts from Dan Miser RSS 2.0
# Thursday, 02 May 2013
Here are my final notes on getting HockeyApp to integrate nicely with MonoTouch:
  • Use the MonoTouch bindings from GitHub. I cleaned up the sample to demonstrate what happens when an exception is thrown, and also added the DebugLogEnabled property binding in case things aren't working. Also be sure to go through the readme in the github project to add the EnableCrashReporting() method.
  • Place a copy of the HockeySDKResources.bundle in the root of your project directory (a bundle is really a directory of files). Select the Display All Files option from the Solution (not the project).
  • If adding a reference to the precompiled HockeyApp.dll, and if you get build errors when compiling to device (error MT5202: Native linking failed. Please review the build log), add the following to your Additional mtouch arguments: -gcc_flags "-framework CoreGraphics -framework CoreText -framework QuartzCore"
  • Be sure to do a Rebuild All, as the UUID of the dSYM doesn't update unless you do this, which will cause problems symbolicating the crash log.
  • Make certain that your info.plist has a "Bundle versions string (short)" (CFBundleShortVersionString) entry.
  • HockeyApp deals with unhandled exceptions. So if you had put a try/catch around your Main.cs, that exception will not be unhandled and will not get processed by HockeyApp. Ask me how I know... :(
Thursday, 02 May 2013 19:47:10 (GMT Daylight Time, UTC+01:00)  #    Comments [0] -

Comments are closed.
<2018 May>
About the author/Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2018
Dan Miser
Sign In
Total Posts: 388
This Year: 0
This Month: 0
This Week: 0
Comments: 630
Pick a theme:
All Content © 2018, Dan Miser
DasBlog theme 'Business' created by Christoph De Baene (delarou)