c# - Linking failed when using Hockey SDK in Xamarin IOS App -


i have xamarin.forms app. in ios project installed hockeyapp package here , followed samples here adding following code in appdelegate.cs:

public override bool finishedlaunching (uiapplication app, nsdictionary options) {     //we must wrap our setup in block wire     // mono's sigsegv , sigbus signals     hockeyapp.setup.enablecustomcrashreporting (() => {          //get shared instance         var manager = bithockeymanager.sharedhockeymanager;          //configure use our app_id         manager.configure ("your-hockeyapp-appid");          //start manager         manager.startmanager ();          //authenticate (there other authentication options)         manager.authenticator.authenticateinstallation ();          //rethrow unhandled .net exceptions native ios          // exceptions stack traces appear nicely in hockeyapp         appdomain.currentdomain.unhandledexception += (sender, e) =>              setup.throwexceptionasnative(e.exceptionobject);          taskscheduler.unobservedtaskexception += (sender, e) =>              setup.throwexceptionasnative(e.exception);     });      //the rest of code here     // ... } 

as try compile program visual studio throws following error (and more of kind):

severity code description project file line suppression state error native linking failed, undefined symbol: std::__1::__vector_base_common::__throw_length_error() const. please verify necessary frameworks have been referenced , native libraries linked in. app.ios

when comment code piece runs fine. suggestions on that? setup hockey in ios xamarin forms project?

are targeting ios 6?

if getting started section on hockeyapp component states this:

targeting ios 6.0

if app target ios 6.0 need add following arguments application project settings.

open project options under build -> ios build go additional options -> additional mtouch arguments , add: -cxx ->gcc_flags "-lc++"

also bug says same thing


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -