Ok, I’ve finally given up on trying to figure out the problem myself. I have built a simple Applescript application in Xcode. Everything is fine until I close the project and then open it up again. When I do a build n’ run the executable doesn’t seem to work properly. If I simply open the project up and try to build the app it errors when I try to run the built app. Is this a common problem or a bug with Xcode or am I missing something simple?
It would be helpful to know what the errors are. Error numbers and messages, along with EXACT details about at what point the errors occur (i.e. at launch, window open, awake from nib, etc.) will help us determine exactly what’s happening.
I haven’t experienced or heard of any bugs related to building or running projects, other than when the compiler errors out because your code is not solid. If you are having an error when your app runs, it is probably something in your code. It is possible to have corrupted nibs or other problems which render a project unrecoverable, but I would rule that out until we’ve done some troubleshooting on the code.
Give us some more details, and we’ll get it figured…
Sorry, about the lack of info earlier. I was in a hurry when I typed it.
It isn’t an error message in so much as a bug or something in Xcode. Let’s say I create a simple Applescript application with one window that has a Text View and a button on it. When I first create this new project and select build and run, it compiles and it runs like a normal app would. (Generic icon in the dock, name of app. in the menu bar, window, no problems etc.) It’s when I close the project and then open it again that the problems occurs. I open the project and when I select build and run the run log shows up and sometimes the main window of the app shows up, but there is no generic app icon in the dock and if I try to type into the Text view (if the window shows up the curser shows up in it) the typing shows up in the run log window instead. If I try to simply build the app it’s the same thing. It builds perfectly when I first create the project (code, windows etc), but if I close and then open it again and try to build, the build won’t run. Hope this makes a little more sense. I’m not new to programming just Xcode. I hope it’s something simple that I’m missing or maybe it’s this new version of Xcode that I downloaded from the Apple site. I toyed with Xcode when it first came out and I don’t remember this happening.
Thanks.