Re: App does not start on a different machine

2009-06-11 Thread Bill Monk
The debugging suggestions made so far in this thread are fine. But really, the only debugging tool needed here is your mind. Developing that tool is the quickest route to fixing bugs like this. 11.06.09 04:24:30 test[767] *** -[NSCFArray objectAtIndex:]: index (0) beyond bounds (0)

Re: App does not start on a different machine

2009-06-11 Thread Andy Lee
On Thursday, June 11, 2009, at 03:01PM, Bill Monk billm...@mac.com wrote: Cmd-Shift-F, type objectAtIndex, make sure the search options popup is set to In Project, hit Return. In the resulting list, look at each found occurrence of objectAtIndex. Option-click on objectAtIndex to bring up its

App does not start on a different machine

2009-06-10 Thread Martin Batholdy
hi, my app works fine on my macbook, but on a macbook pro it starts and then just disappears immediately after the start (nor error message). The OS version is the same, and the app is pretty simple (no graphic stuff or something like that). There are no errors or warnings in the code ...

Re: App does not start on a different machine

2009-06-10 Thread Nick Zitzmann
On Jun 10, 2009, at 4:26 PM, Martin Batholdy wrote: There are no errors or warnings in the code ... and as I said, the app works fine on my machine. why could that be? What does it say in the system console when the app won't launch, if anything? Nick Zitzmann

Re: App does not start on a different machine

2009-06-10 Thread Luke the Hiesterman
Intel app on PPC? Luke On Jun 10, 2009, at 3:30 PM, Nick Zitzmann wrote: On Jun 10, 2009, at 4:26 PM, Martin Batholdy wrote: There are no errors or warnings in the code ... and as I said, the app works fine on my machine. why could that be? What does it say in the system console

Re: App does not start on a different machine

2009-06-10 Thread Glenn L. Austin
On Jun 10, 2009, at 3:26 PM, Martin Batholdy wrote: hi, my app works fine on my macbook, but on a macbook pro it starts and then just disappears immediately after the start (nor error message). The OS version is the same, and the app is pretty simple (no graphic stuff or something like

Re: App does not start on a different machine

2009-06-10 Thread Martin Batholdy
No, both are intel macs. Am 11.06.2009 um 00:31 schrieb Luke the Hiesterman: Intel app on PPC? Luke On Jun 10, 2009, at 3:30 PM, Nick Zitzmann wrote: On Jun 10, 2009, at 4:26 PM, Martin Batholdy wrote: There are no errors or warnings in the code ... and as I said, the app works fine

Re: App does not start on a different machine

2009-06-10 Thread vinai
--- On Wed, 6/10/09, Martin Batholdy batho...@googlemail.com wrote: my app works fine on my macbook, but on a macbook pro it starts and then just disappears immediately after the start (nor error message). The OS version is the same, and the app is pretty simple (no graphic stuff or

Re: App does not start on a different machine

2009-06-10 Thread Jean-Daniel Dupas
Le 11 juin 09 à 00:26, Martin Batholdy a écrit : hi, my app works fine on my macbook, but on a macbook pro it starts and then just disappears immediately after the start (nor error message). The OS version is the same, and the app is pretty simple (no graphic stuff or something like

Re: App does not start on a different machine

2009-06-10 Thread Kyle Sluder
Are you trying to run a debug build on a machine without the developer tools installed? --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at

Re: App does not start on a different machine

2009-06-10 Thread Martin Batholdy
well, I am pretty unexperienced and new to writing programs on the mac. the app just creates two text files on start in a subfolder of the application support folder in the library folder of the user. Then it reads and writes stuff in there. There are no external / exotic libraries. It is

Re: App does not start on a different machine

2009-06-10 Thread Rob Ross
You could try adding logging statements after major milestones in your start-up sequence, and see what the last one it writes is. That might give you a clue how far it's getting (if at all) before it quits. It you don't even see the first message (which you should add as the very first

Re: App does not start on a different machine

2009-06-10 Thread Nick Zitzmann
On Jun 10, 2009, at 5:10 PM, Martin Batholdy wrote: ZeroLinker is off, when I change the build configuration to Release, right? ZeroLink was removed from Xcode 3.0 for exactly this reason. So I am pretty helpless with that issue, having no real experience with building programs on the

Re: App does not start on a different machine

2009-06-10 Thread Martin Batholdy
ok, this is what happens in the console; 11.06.09 04:24:15 com.apple.launchd[66] ([0x0-0x53053].com.yourcompany. test[762]) Exited abnormally: Trace/ BPT trap 11.06.09 04:24:30 test[767] An uncaught exception was raised 11.06.09 04:24:30 test[767] *** -[NSCFArray objectAtIndex:]: index (0)

Re: App does not start on a different machine

2009-06-10 Thread Luke the Hiesterman
Launch your app in the xcode debugger and then take a look at the backtrace. Find where you call objectAtIndex: in that backtrace, just before things crash, and that should point you to your problem. Paste the backtrace if you need help. Luke On Jun 10, 2009, at 7:35 PM, Martin Batholdy

Re: App does not start on a different machine

2009-06-10 Thread Nick Zitzmann
On Jun 10, 2009, at 8:35 PM, Martin Batholdy wrote: 11.06.09 04:24:15 com.apple.launchd[66] ([0x0-0x53053].com.yourcompany. test[762]) Exited abnormally: Trace/ BPT trap 11.06.09 04:24:30 test[767] An uncaught exception was raised 11.06.09 04:24:30 test[767] *** -[NSCFArray