BUILT_PRODUCTS_DIR has a path for iphoneos instead of iphonesimulator

I am trying to use the headers in my project for the built-in static library stored in the dir Xcode directory.

My way:

$(BUILT_PRODUCTS_DIR)/include/AxUniversalMap/header

when I put this in the header search path, it turns into:

build/Debug-iphoneos/include/AxUniversalMap/header/**

But I built for the simulator - the build folder:

 Library ▸ Developer ▸ Xcode ▸ DerivedData ▸ AxEMP-fvifqrufioelsgevaoufqzbfvzkn ▸ Build ▸ Products ▸ Debug-iphonesimulator

So the application cannot find the headers. Why BUILT_PRODUCTS_DIRdoes it contain the “wrong” path?

+4
source share

Source: https://habr.com/ru/post/1568089/


All Articles