I'm working with XCode 2.0
I need to modify a program executable at the end of the building of a program
I'd like to append some data at the end of the generated executable after the code stripping
actually I tried to add a Run Script phase as the last building phase of the target
but this script is executed before the strip of the executable
so when the strip command is executed I get an error, because (I suppose) it finds the executable
altered in a format incompatible with the strip command.
the error I get is the following:
Strip /Users/scriba/Documents/Informatica/Progetti/OnSync/build/OnSync.app/Contents/MacOS/OnSync
cd /Users/scriba/Documents/Informatica/Progetti/OnSync
/usr/bin/strip /Users/scriba/Documents/Informatica/Progetti/OnSync/build/OnSync.app/Contents/MacOS/OnSync
/usr/bin/strip: the __LINKEDIT segment does not cover the end of the file (can't be processed) in: /Users/scriba/Documents/Informatica/Progetti/OnSync/build/OnSync.app/Contents/MacOS/OnSync
is it possible to add a build phase
after all other building activities ?
sincerely
antonio