Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL

Recipe 13. Deploy the Application > Step 2: Test the Application - Pg. 587

signing was introduced in Mac OS X 10.5 Leopard. Your application will work if you don't sign it--at least for now--but it will trigger annoying security-related alerts when your users launch it. Apple "highly" recommends that you sign all code intended for use with Mac OS X 10.5 or newer. In the latest versions of Xcode, building the Release configuration is as easy as open- ing the Overview pop-up menu once or twice and choosing Build > Build. If you are comfortable with the default build settings for the Release configuration--and in most cases you should be--just choose Release instead of Debug as the Active Configuration and build the project. To be completely sure the built product is cor- rect, you might want to clean the project immediately before building it to clear any lingering discrepancies in the intermediate build products. You don't have to change the Active Architecture setting, because the build settings for the Release configura- tion control the architectures that the application supports. One more step is required for Vermont Recipes, because you have Leopard and Snow Leopard targets. In addition to choosing the Release configuration, choose Vermont Recipes SL as the Active Target and build the project. When you choose the Active Target, Xcode automatically chooses the corresponding Active Executable. Then remove the built application from the Release subfolder of the build folder or add (Snow Leopard) to its name to avoid overwriting it when you build the other target. Then choose Vermont Recipes as the Active Target and build the project