Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

©Apple

macrumors newbie
Original poster
Aug 19, 2009
24
0
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
 

Sydde

macrumors 68030
Aug 17, 2009
2,552
7,050
IOKWARDI
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?
 

Sydde

macrumors 68030
Aug 17, 2009
2,552
7,050
IOKWARDI
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.