[MonoTouch] App Crashes on Device But Fine in Simulator

Jason Awbrey jason at awbrey.net
Wed Mar 7 21:13:20 UTC 2012


yes, run it on an async thread.  And you need to display some sort of
default UI as a placeholder until the request completes (if the request
fails or if they have no connectivity, how will the app respond?)

On Wed, Mar 7, 2012 at 3:11 PM, Fencer04 <fencer04 at gmail.com> wrote:

> That is what is happening I think, should I run it on a separate thread? I
> need the response from the web service to populate my UI.
>
> Justin Hansen
>
> On Mar 7, 2012, at 4:06 PM, "jawbrey [via MonoTouch]" <[hidden email]<http://user/SendEmail.jtp?type=node&node=4454670&i=0>>
> wrote:
>
> are you making a blocking webservice call when the app starts up?  If it
> does not complete in time (10s, I think) iOS will kill your app as
> unresponsive
>
> On Wed, Mar 7, 2012 at 3:03 PM, Fencer04 <[hidden email]<http://user/SendEmail.jtp?type=node&node=4454650&i=0>
> > wrote:
>
>> I have an application that calls out to a web service. It runs fine in the
>> emulator but crashes on the device. The following is the info that I get:
>>
>> Mar  7 15:58:52 Justins-iPhone SpringBoard[15] <Warning>: My App failed to
>> launch in time
>>
>>
>> Mar  7 15:58:52 Justins-iPhone SpringBoard[15] <Warning>: Forcing crash
>> report of MyApp[112]...
>>
>>
>> Mar  7 15:58:52 Justins-iPhone SpringBoard[15] <Warning>: Finished crash
>> reporting.
>>
>>
>> Mar  7 15:58:52 Justins-iPhone com.apple.launchd[1] (UIKitApplication:My
>> App[0xc356][112]) <Notice>: (UIKitApplication:My App[0xc356]) Exited:
>> Killed: 9
>>
>>
>> Mar  7 15:58:52 Justins-iPhone SpringBoard[15] <Warning>: Application 'My
>> App' exited abnormally with signal 9: Killed: 9
>>
>>
>> Mar  7 15:58:52 Justins-iPhone ReportCrash[113] <Error>: Saved crashreport
>> to
>>
>> /var/mobile/Library/Logs/CrashReporter/MyApp_2012-03-07-155852_Justins-iPhone.plist
>> using uid: 0 gid: 0, synthetic_euid: 501 egid: 0
>>
>> Any help would be greatly appreciated, I have no idea what's happening.
>>
>>
>> --
>> View this message in context:
>> http://monotouch.2284126.n4.nabble.com/App-Crashes-on-Device-But-Fine-in-Simulator-tp4454637p4454637.html
>> Sent from the MonoTouch mailing list archive at Nabble.com.
>> _______________________________________________
>> MonoTouch mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4454650&i=1>
>> http://lists.ximian.com/mailman/listinfo/monotouch
>>
>
>
> _______________________________________________
> MonoTouch mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4454650&i=2>
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://monotouch.2284126.n4.nabble.com/App-Crashes-on-Device-But-Fine-in-Simulator-tp4454637p4454650.html
>  To unsubscribe from App Crashes on Device But Fine in Simulator, click
> here.
> NAML<http://monotouch.2284126.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
> ------------------------------
> View this message in context: Re: App Crashes on Device But Fine in
> Simulator<http://monotouch.2284126.n4.nabble.com/App-Crashes-on-Device-But-Fine-in-Simulator-tp4454637p4454670.html>
>
> Sent from the MonoTouch mailing list archive<http://monotouch.2284126.n4.nabble.com/>at Nabble.com.
>
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monotouch/attachments/20120307/91d23a40/attachment-0001.html>


More information about the MonoTouch mailing list