Build settings not exported to environment for run script build phase
Build settings not exported to environment for run script build phase
- Subject: Build settings not exported to environment for run script build phase
- From: Rush Manbert <email@hidden>
- Date: Tue, 1 Feb 2011 14:46:53 -0800
I am running Xcode 3.2.5.
We have a Xcode plugin that is based on the standard gcc 4.0 plugin. All it does in addition is define some new build settings with default values. The plugin is used by selecting it in the "C/C++ Compiler Version" setting.
Today I added a run script build phase to the target that uses the plugin. The script used one of our build settings that is defined by the plugin. However, I discovered that the build setting was not exported to the environment used by the script. Through some experimentation I have determined that the build settings defined by our plugin are only exported to the script environment if they have non-dafault values. That's no good. I need all of them to be set in the environment for the script.
This seems like a bug to me, but I'm hoping someone may know a trick for forcing the build settings to be exported. Maybe there's something that our plugin can specify?
- Rush
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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