When I use $(BUILT_PRODUCTS_DIR)in User Header Search Path(as recommended in this tutorial on static libraries) Xcode 4 resolves this as follows:

This is a problem when I work with the simulator because assembly files are stored in Debug-iphonesimulatorinstead Debug-iphoneos, and Xcode cannot find the headers.
My current solution is based on the first iOS device, and then works with Simulator. This is a bit tiring and error prone. What am I doing wrong?
source
share