issue with xcconfig includes and absolute paths
issue with xcconfig includes and absolute paths
- Subject: issue with xcconfig includes and absolute paths
- From: Terrence Talbot <email@hidden>
- Date: Wed, 5 Mar 2008 11:37:13 -0800
Hello,
When I build my application, I have a script phase write the current
revision number to an xcconfig file that then gets included by other
projects' xcconfig files so that they all know what the new revision
number (and hence CFBundleVersion) will be.
About half the time, not always, roughly half the time, it seems as if
Xcode can't find the file to include, so all my dependent projects
(plugins) start complaining during the build:
Checking Dependencies
Sandvox.xcconfig line 3: Unable to find included file "/private/tmp/
build-sandvox/BuildSettings.xcconfig"
I understand that you have to use relative paths or absolute paths.
Since many projects need to incorporate this xcconfig file, I write it
to /tmp and include it as an absolute path in a project's xcconfig file:
// include SVN_VERSION (the first step in any Sandvox build)
#include "/private/tmp/build-sandvox/BuildSettings.xcconfig"
I know that this file exists. The first step in any build creates this
file. It's always there when I check on it. It is owned by me and
world readable.
Is there something about order of operations or visibility that I'm
not understanding? Anything I can check? It's a real mystery. Once I
do stumble into a build where it finds the file without a problem,
Xcode never complains again unless I do a completely clean build
(including removing intermediates).
Are these mis-expanded xcconfig includes cached somehow?
Thanks,
-- Terrence
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden