-
Bug
-
Resolution: Not A Defect
-
Blocker
-
MAC OS X 10.6, Xcode 3.2.6,
I have a sample NSApplication to be launched through post build shell script. The shell script tries to open the application with the argument provided. But this fails to load the UI (nib file) and gives an error message "Terminating app due to uncaught exception NSInternalInconsistencyException, reason: Error (1002) creating CGSWindow".
The screenshot of the exception and also the configuration is attached.
I am also attaching the test app(testApp.zip) and the script file(script.zip) used.
The standard Jenkins Mac installer sets up a launch daemon to run Jenkins in a system context where it has no access to the graphical display. Thus anything launched by Jenkins is unable to open windows or draw on the screen.
If that is really necessary, the user must
and then move the file into ~/Library/LaunchAgents of a real user who logs in and creates a graphical session. Also the plist file might need a couple of changes... or use https://github.com/stisti/jenkins-app
I would close this ticket but as it is owned by someone else, I'll leave the decision to him.