Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About Build-phases and code stripping



Hello,
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




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.