Re: Copy files phase interferes with code signature?
Re: Copy files phase interferes with code signature?
- Subject: Re: Copy files phase interferes with code signature?
- From: John Brisbin <email@hidden>
- Date: Sun, 19 Oct 2008 11:02:17 -0700
I too have had the same kind of problems with copy files.
These have appeared in two areas:
1. Where header files moved with copy files to shared location have
their dates munged forcing full rebuilds each time.
2. Where files that I have signed using my own pre-Leopard code have
been corrupted (enough to not match the signature).
I wrote it off as a bug/misfeature and simply replaced any critical
'copy files' phases with 'script' phases that move the same files using
ditto (which preserves dates and other attributes much better than cp
or whatever copy files is using).
Whether a bug or feature, this has been the behavior of copy files
since at least Xcode 2.4.
John Brisbin
infinite labs wrote:
On Sat, Oct 18, 2008 at 2:19 PM, Keith Duncan <email@hidden> wrote:
it modifies it in a way that removes the signature.
Are you sure it isn't simply 'breaking' the signature from the last time the
product was built? Signing is the last thing that Xcode does and it takes
place after the build phases are complete.
Keith
I am not using CODE_SIGN_* as I want to sign dylibs and Cocoa bundles
too and xcodebuild simply outputs "code signing not enabled for
product type <type>" (not verbatim) for these targets.
I'm using a custom shell script phase which basically boils down to:
codesign -s "$MY_BUILD_SETTING_WITH_CS_IDENTITY" -vvvvv -f
"$BUILT_PRODUCTS_DIR"/"$FULL_PRODUCT_NAME"
It's the last build phase in the target and I can verify pre-copy
files are correctly signed.
- ∞
_______________________________________________
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
|
_______________________________________________
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