Using $ (BUILT_PRODUCTS_DIR) in a user header search path

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:

enter image description here

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?

+5
source share
2 answers

Xcode, , , . , .

, , .

+6

. , . , $(BUILT_PRODUCTS_DIR) , $(BUILT_PRODUCTS_DIR)/usr/local/include .

+1

All Articles