Mac OS X + Xcode - nearly working ;)

Hi

The new SDL-devel package now happily installs the relevant files into
~/Library/Frameworks. But when I try to create a new target of type SDL
Application:

Uncaught Exception:
*** +[NSArray arrayWithObject:]: attempt to insert nil

Stack Backtrace:
The stack backtrace has been logged to the console.

And at the console, this is dumped:

** INTERNAL ERROR: Uncaught Exception **
Exception: *** +[NSArray arrayWithObject:]: attempt to insert nil
Stack:
0 0x94ec64b8 -[TSException raise]
1 0x90a5cd58 +[NSException raise:format:]
2 0x90a0b6fc +[NSArray arrayWithObject:]
3 0x9776aa3c +[PBXSelection
performAction:withSingleSelection:onContext:]
4 0x9796dd98 -[XCProjectItemSelection
_newTargetWizardPanelDidEndModalSessionForWizard:didFinish:contextInfo:]
5 0x977e5e28 -[PBXWizardPanel
_wizardSheetDidEnd:returnCode:contextInfo:]
6 0x92e77abc -[NSApplication sendAction:to:from:]
7 0x92e7e840 -[NSControl sendAction:to:]
8 0x92eb8ab8 -[NSCell _sendActionFrom:]
9 0x92e584fc -[NSCell trackMouse:inRect:ofView:untilMouseUp:]
10 0x92ec96c8 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:]
11 0x92e8e900 -[NSControl mouseDown:]
12 0x92e02c5c -[NSWindow sendEvent:]
13 0x92df5320 -[NSApplication sendEvent:]
14 0x977337c0 -[PBXExtendedApplication sendEvent:]
15 0x92dfd738 -[NSApplication run]
16 0x92eb9b7c _NSApplicationMain
17 0x0000a080
18 0x8fe1a588

Running Xcode 1.1 on Mac OS X 10.3.3.–
Cheers,
Jay

http://www.evilrealms.net/ - Systems Administrator & Developer
http://www.imperial.ac.uk/ - 3rd year CS student

Hi,

I have no problem at all running SDL with my 10.3.3 and Xcode. Can you
email me a cope snippet (on or off list) to see if I can reproduce the
issue?

  • JDOn Apr 9, 2004, at 7:59 AM, Jay Cornwall wrote:

Hi

The new SDL-devel package now happily installs the relevant files into
~/Library/Frameworks. But when I try to create a new target of type
SDL Application:

Uncaught Exception:
*** +[NSArray arrayWithObject:]: attempt to insert nil

Stack Backtrace:
The stack backtrace has been logged to the console.

And at the console, this is dumped:

** INTERNAL ERROR: Uncaught Exception **
Exception: *** +[NSArray arrayWithObject:]: attempt to insert nil
Stack:
0 0x94ec64b8 -[TSException raise]
1 0x90a5cd58 +[NSException raise:format:]
2 0x90a0b6fc +[NSArray arrayWithObject:]
3 0x9776aa3c +[PBXSelection
performAction:withSingleSelection:onContext:]
4 0x9796dd98 -[XCProjectItemSelection
_newTargetWizardPanelDidEndModalSessionForWizard:didFinish:
contextInfo:]
5 0x977e5e28 -[PBXWizardPanel
_wizardSheetDidEnd:returnCode:contextInfo:]
6 0x92e77abc -[NSApplication sendAction:to:from:]
7 0x92e7e840 -[NSControl sendAction:to:]
8 0x92eb8ab8 -[NSCell _sendActionFrom:]
9 0x92e584fc -[NSCell trackMouse:inRect:ofView:untilMouseUp:]
10 0x92ec96c8 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:]
11 0x92e8e900 -[NSControl mouseDown:]
12 0x92e02c5c -[NSWindow sendEvent:]
13 0x92df5320 -[NSApplication sendEvent:]
14 0x977337c0 -[PBXExtendedApplication sendEvent:]
15 0x92dfd738 -[NSApplication run]
16 0x92eb9b7c _NSApplicationMain
17 0x0000a080
18 0x8fe1a588

Running Xcode 1.1 on Mac OS X 10.3.3.


Cheers,
Jay

http://www.evilrealms.net/ - Systems Administrator & Developer
http://www.imperial.ac.uk/ - 3rd year CS student


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl