• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: app won't run in iPhone simulator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: app won't run in iPhone simulator


  • Subject: Re: app won't run in iPhone simulator
  • From: Jay Swartzfeger <email@hidden>
  • Date: Wed, 14 Oct 2009 19:14:33 -0400

Thanks for the heads up Luke, I didn't know of the cocoa-dev list. And
your crashlog tip solved my problem -- I saw the element in IB that
was crashing the app, deleted it, and now all is well.

On Wed, Oct 14, 2009 at 9:48 AM, Luke the Hiesterman <email@hidden> wrote:
> This is really a cocoa-dev problem. That being said, you shouldn't put
> synchronous network requests in awakeFromNib - that could be timing out.
> Also, the crashlog in ~/Library/Logs/DiagnosticReports (on Snow Leopard)
> should reveal the problem.
>
> Luke
>
> On Oct 14, 2009, at 4:59 AM, Jay Swartzfeger wrote:
>
>> All, I'm new to xcode and a simple iPhone app will launch but then
>> immediately quits to the home screen. Do you see anything here I'm
>> doing wrong?
>>
>> //  MainView.h
>> //
>>
>> #import <UIKit/UIKit.h>
>> #import <Foundation/Foundation.h>
>>
>> @interface MainView : UIView {
>>   IBOutlet UIWebView *webView;
>> }
>>
>> @end
>>
>>
>> //  MainView.m
>> //
>>
>> #import "MainView.h"
>>
>> @implementation MainView
>>
>> -(void)awakeFromNib {
>>        //[webView loadRequest:[NSURLRequest requestWithURL:[NSURL
>> URLWithString:@"http://www.apple.com";]]];
>>        [webView loadRequest:[NSURLRequest requestWithURL:[NSURL
>> fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"index"
>> ofType:@"html"]isDirectory:NO]]];
>>
>> }
>> @end
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Xcode-users mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>



--
Jay Swartzfeger
http://www.swartzfeger.com/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >app won't run in iPhone simulator (From: Jay Swartzfeger <email@hidden>)
 >Re: app won't run in iPhone simulator (From: Luke the Hiesterman <email@hidden>)

  • Prev by Date: Re: xcodebuild & arch -x86_64
  • Next by Date: Re: xcodebuild & arch -x86_64
  • Previous by thread: Re: app won't run in iPhone simulator
  • Next by thread: Xcode ALWAYS exits with status code 1
  • Index(es):
    • Date
    • Thread