I have two Xcode projects: Super
and Sub
. Super
has a custom configuration: Enterprise
. Sub
only has the default configurations: Debug
and Release
. Super
has a target dependency on Sub
. When I build Super
with the Enterprise
configuration, Sub
builds with its default configuration: Release
. This yields the following hierarchy:
Build
|-Products
|-Enterprise-iphoneos
|-Super.app
|-Release-iphoneos
|-libSub.a
|-Sub
|-Sub.h
Clang fails to build because libSub.a
and Sub/Sub.h
is normally in the same directory as Super.app
, but instead is in a different directory because Sub
built with the Release
configuration instead of Enterprise
. I control both projects, so I could easily add an Enterprise
configuration to Sub
, but I feel like there must be a magical incantation of Xcode Build Settings to make this work.