O'Reilly logo

Learning Cocoa by Apple Computer Inc

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Enable Compiler Optimization

In this section you’ll apply the final bit of polish to the application by turning on compiler optimization. You can choose from several levels of optimization; in general, the higher the optimization level, the longer compilation will take to complete, and the more difficult it will be to debug the application. Choose Developer Tools Help in Project Builder’s Help menu for more information about optimizing your application.

To enable optimization:

  1. In Project Builder, select the Build Settings pane of the Target options display as shown in Figure 14.5.

  2. Choose a deployment optimization level.

When you’re ready to build final candidate versions of your application, select Deployment from the Build Styles pane. This will enable the optimization level that you selected.

If you wish, select an installation location. This is the folder where the application will be copied when the build is complete. This makes testing the finished app outside of Project Builder simple.

Project Builder’s Build Settings window

Figure 14-5. Project Builder’s Build Settings window

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required