Xcode exited error 5... help me!

Discussion in 'Mac Programming' started by ©Apple, Jan 12, 2010.

  1. ©Apple macrumors newbie

    Joined:
    Aug 19, 2009
    #1
    I was building a program for mac. It works and then the next time I try it I get
    error 5. Here is what I got from the debugger...

    [Session started at 2010-01-12 19:06:41 -0500.]
    2010-01-12 19:06:41.099 Xcode[21503:203] *** NSTask: Task create for path '/Users/rjohnson1/Desktop/minivmac-3.1.3.src/minivmac-3.1.3-imch/ClasMac.app' failed: 13, "Permission denied". Terminating temporary process.

    The Debugger has exited due to signal 5 (SIGTRAP).The Debugger has exited due to signal 5 (SIGTRAP).

    Then when I look at the program in the folder it shows a (\) sign on it
     
  2. Sydde macrumors 68020

    Sydde

    Joined:
    Aug 17, 2009
    #2
    That looks like an incomplete path for NSTask. Is that your app being run by XCode or a task you are launching from within your app?
     
  3. ©Apple thread starter macrumors newbie

    Joined:
    Aug 19, 2009
    #3
    When I click Build and Go
     
  4. Sydde macrumors 68020

    Sydde

    Joined:
    Aug 17, 2009
    #4
    I would guess you have a corrupted project file. First check project settings to see if you can spot a problem. For me, the next step would be to reconstitute the project by creating a new one and copying everything into it (except for the project file itself) - a lot of work, yes, but if it fixes the problem, worth it. If it still fails, you my try pulling pref (.plist) files to force XCode to rebuild them.
     

Share This Page