Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-25-2012, 03:35 AM   #1 (permalink)
Registered Member
 
Join Date: Aug 2011
Posts: 11
phatyo is on a distinguished road
Default Very frustrated please help

I am very frustrated on why this happen. I a nooby and have no coding experience. I was experimenting following tutorials on how to do a simple view pased navigational app.

After I though I learned how, I closed Xcode and deleted all the files to start a new one. Every time I press Run it crashed on me and tells me this is the problem

x#import <UIKit/UIKit.h>

#import "AppDelegate.h"

int main(int argc, char *argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass(AppDelegate));
}
}

More specifically it shows this



I deleted xcode and re-installed it and that didn't fix the problem.
Everything was working fine before... What happened?
Please help in simple language....
phatyo is offline   Reply With Quote
Old 01-25-2012, 10:57 AM   #2 (permalink)
Registered Member
 
Join Date: Aug 2011
Posts: 11
phatyo is on a distinguished road
Default

anyone? Bump!
phatyo is offline   Reply With Quote
Old 01-25-2012, 12:38 PM   #3 (permalink)
Registered Member
 
Join Date: Aug 2011
Posts: 11
phatyo is on a distinguished road
Default

I did some research and they are telling me to enable a Zombie. They explain it so complex. Can anyone tell me how to enable it?
phatyo is offline   Reply With Quote
Old 01-25-2012, 01:11 PM   #4 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,990
BrianSlick has a spectacular aura about
Default

Deleted Xcode over a syntax problem?

Code:
NSStringFromClass([AppDelegate class])
Not sure why you messed with this code in the first place. It should have been correct from the get-go when you created a new project. When in doubt, start over again with a new project.
__________________
BriTer Ideas LLC - Professional iOS App Development. Available for hire.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
Definitive Guide To Properties | UITableView Series | Guide To Troubleshooting | Model Object Overview

Do you sit at a desk all day? Walk instead! Follow along with my treadmill desk adventures.
BrianSlick is offline   Reply With Quote
Old 01-25-2012, 01:33 PM   #5 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 6,003
Duncan C has a spectacular aura about
Default

Quote:
Originally Posted by phatyo View Post
I did some research and they are telling me to enable a Zombie. They explain it so complex. Can anyone tell me how to enable it?
You're off in the weeds, dude.

Don't delete and re-install Xcode. Don't go off on a zombie hunt. Zombies are objects that get deallocated when somebody is still using them. They show up a runtime.

"Sit down, take a stress pill, and think things through."

What you have is a simple syntax error. Brian Slick already explained it.
__________________
Regards,

Duncan C
WareTo

Check out our apps in the Apple App store


Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.

See this tutorial on using UIView animations and layer animations:

See this thread on generating random, non-repeating text

Check out a very cool Macintosh Kaleidoscopes app called ScopeWorks that we released to the Mac App store.
Duncan C is offline   Reply With Quote
Old 01-25-2012, 10:04 PM   #6 (permalink)
Registered Member
 
Join Date: Aug 2011
Posts: 11
phatyo is on a distinguished road
Default

Quote:
Originally Posted by BrianSlick View Post
Deleted Xcode over a syntax problem?

Code:
NSStringFromClass([AppDelegate class])
Not sure why you messed with this code in the first place. It should have been correct from the get-go when you created a new project. When in doubt, start over again with a new project.
For Some reason it never corrects itself. The app always crashes on me or some reason....
phatyo is offline   Reply With Quote
Old 01-27-2012, 01:16 PM   #7 (permalink)
Registered Member
 
Join Date: Aug 2011
Posts: 11
phatyo is on a distinguished road
Default

I did a lot mor research and looks like I have a SIGABRT Error which means some old files could be interfering? Making a new project doesn't work. I managed to delete all my catches and files but the problem still acures. I took a screen cap with the Debugger information. I don't know what its trying to say. Maybe you guys can help me?



If I have to restore my Lion OS I will.
phatyo is offline   Reply With Quote
Old 01-27-2012, 01:30 PM   #8 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 6,003
Duncan C has a spectacular aura about
Default

Quote:
Originally Posted by phatyo View Post
I did a lot mor research and looks like I have a SIGABRT Error which means some old files could be interfering? Making a new project doesn't work. I managed to delete all my catches and files but the problem still acures. I took a screen cap with the Debugger information. I don't know what its trying to say. Maybe you guys can help me?



If I have to restore my Lion OS I will.
NO NO NO NO NO NO NO!

Reinstalling Xcode was overkill.

Xcode 4.2 is not always great at reporting the source of errors. In particular, XIB file or storyboard links to nonexistent outlets/actions will cause a crash that Xcode reports in main, even though that's clearly wrong.

Try building and running one of the empty Xcode project templates. I bet that works. There's something wrong with your project that is causing this crash. It's just a question of hunting it down, which isn't always easy.
__________________
Regards,

Duncan C
WareTo

Check out our apps in the Apple App store


Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.

See this tutorial on using UIView animations and layer animations:

See this thread on generating random, non-repeating text

Check out a very cool Macintosh Kaleidoscopes app called ScopeWorks that we released to the Mac App store.
Duncan C is offline   Reply With Quote
Old 01-27-2012, 01:34 PM   #9 (permalink)
Registered Member
 
Join Date: Aug 2011
Posts: 11
phatyo is on a distinguished road
Default

Quote:
Originally Posted by Duncan C View Post
NO NO NO NO NO NO NO!

Reinstalling Xcode was overkill.

Xcode 4.2 is not always great at reporting the source of errors. In particular, XIB file or storyboard links to nonexistent outlets/actions will cause a crash that Xcode reports in main, even though that's clearly wrong.

Try building and running one of the empty Xcode project templates. I bet that works. There's something wrong with your project that is causing this crash. It's just a question of hunting it down, which isn't always easy.
The problem is I didn't change anything to the code, I had a app working before. I was just sand boxing it so I deleted it since nothing major was done once this code started happening. I started apps in both views, the empty and the single base view one. When I press run and build without even adding anything to the story board or adding any code it always returns me to this screen.

Should I just give up and restore Lion all together I am sure that will fix the problem. I just got my computer not to much files are on here that are important.
phatyo is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 399
12 members and 387 guests
7twenty7, Atatator, condor304, FrankWeller, glenn_sayers, iphonedevshani, MAMN84, mraalex, PowerGoofy, QuantumDoja, tim0504, VinceYuan
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,674
Threads: 94,123
Posts: 402,908
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Atatator
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:52 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0