my iphone app builds fine in debug configuration, but when i change it to release, i get hundreds of errors, starting with “CoreServices/CoreServices.h: No such file or directory” in AudioFileComponent.h – part of the AudioToolbox framework.
i can’t find where in the project/build settings is responsible for this.. thanks for any help.
I would recommend the following:
Another thing you can do is build one of your source files in debug mode, and in the Build Results window copy the contents of the command line to a text editor. Repeat for release mode. Then, replace each space in the command line with a newline (\r). From there you should be able to do a rough side-by-side evaluation of the differences between the two compile instructions, and may be able to figure out what’s missing from that.
In general this helps you get a better feel for exactly what XCode is doing under the hood to build your project, which is a good strategy to practice no matter what tool you are using for development.