Hi,
I have written an applescript file which creates an xcode project. I have managed to add the *.cpp files into the "Compile Sources" phase however couldn't do the same with the *.r files into the "Build Resource Manager Resources" , the script stop with this error message: "Target container does not support the add event".
Is this feature not supported?
here is the code:
tell application "Xcode" tell project pluginName repeat with f in resourceFileList
tell group "Resources" set newFileRef to make new file reference with properties {path:"./Resources/Mac" & f, name:f} end tell tell target "PluginBundle" set tmpName to name of newFileRef add newFileRef to build phase "Build Resource Manager Resources" end tell
end repeat end tell end tell
thanks, amir.
========================== Amir Aharon www.waves.com |