Version 2.0 Building Question

Okay, I posted this in another thread as a side note, but it now seems to be a real problem for me.

How do I go from having a project file, to have a standalone application file? I’ve tried all the suggestions and nothing seems to be working! Anyone here who can help the super-noob?

Hi,

Assuming that you did everything right from the start - creating your new project in AS Studio until the part where you have to finish up after creating the project directory - you should be able to go back to your directory and see the compiled build of your application.

Depending upon how you indicated your build configuration (Debug vs Release), you should have a stand-alone application in your project directory. If for some reason you cannot find the path to your directory, you can ask the Finder to help you locate it. I assume that you have an alias to your application on your desktop that you double-click to test your application after a successful compile. Tracing the path to your project directory from that alias should be fairly simple to do.

Once you find your Release build, you should have that precious stand-alone application.

Hope this helps. And, good luck!

archseed :slight_smile:

Nope, I have the app I used for testing, but if I move the directory of files it came from, it dies!!! I can’t move it to another computer or anything.

You need to compile it in Release or Deployment mode. If there’s a popup button in Xcode’s toolbar labeled “Active Build Configuration”, change that to Deployment or Release (either will work, but only one is likely to be there). If there isn’t such a popup button, choose the top level of your project in Xcode’s sidebar, then choose File > Get Info, click the Build tab in the resulting window, and choose Release or Deployment (again, either one is fine - pick the one that’s there) from the popup button next to the “Configuration:” label near the top of the window. Do a build, and the resulting application should run fine anywhere.

It does that, but when I move the app to a new computer it dies on me. Thanks anyway, it should work, but I guess on my computer it doesn’t. I’ll keep working on it, good scripting!

Try Cleaning the target before you build it.

YES! It worked perfectly, thank you all!