Got Weird "SIGABRT" Error When Making Simple Cocoa App

Discussion in 'Mac Programming' started by sheepopo39, Jan 2, 2010.

  1. sheepopo39 macrumors 6502

    Joined:
    Sep 18, 2008
    #1
    I was working through my Cocoa for Dummies book and I was working on one of the projects, and I had finished it, and fixed any errors when it compiled but it the bottom right hand corner it said "GDB: Program received signal: "SIGABRT", so I thought it was some weird problem and I made a new the program again, just under a different name, and again, same error. I am completely confused as to what is causing this and I was wondering if anyone knows how to fix this because, the application won't even run.
     
  2. jpefjr macrumors regular

    jpefjr

    Joined:
    Jul 8, 2008
  3. sheepopo39 thread starter macrumors 6502

    Joined:
    Sep 18, 2008
    #3
    Sorry, I can't seem to post the whole project file, however I did upload the source code files, hope that'll help.

    Thanks,

    John.
     

    Attached Files:

  4. Detrius macrumors 68000

    Joined:
    Sep 10, 2008
    Location:
    Asheville, NC
    #4
    Why can't you post the whole project file? Just zip it up like you did the files, but make sure you don't include the build directory.
     
  5. jpefjr macrumors regular

    jpefjr

    Joined:
    Jul 8, 2008
    #5
    Yeah, the whole project file would help. I tried creating a new project copying over your files and while the program ran it didn't open up the window you had defined in interface builder.
     
  6. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #6
    The nib has a class WindowAppDelegate - where's the code for that?

    Also, there is a window in your nib that's set to release when closed. It doesn't have any outlet connected, but make sure you're not trying to access a window that has already been deallocated.
     

Share This Page