How to avoid stripping dylib
How to avoid stripping dylib
- Subject: How to avoid stripping dylib
- From: "Bob Currier" <email@hidden>
- Date: Thu, 26 Jul 2007 11:26:51 -0700
As part of my build I need to copy a dylib into the Resources folder
within my executable, so I added a simple Copy Files build phase to my target.
When building for Debug, this works fine.
When building for Release, I have Strip Linked Product enabled. This
attempts to do a -strip-debug-symbols during the PBXCp copy operation.
And that fails because "dynamic stub library can't be changed once
created" which makes perfect sense. The build then fails because the
file has not been copied, yet it tries to run strip on it.
I just want to do the copy operation without doing any stripping. How
can I do this while still stripping the built product?
I tried changing the file type for the copy operation, thinking that the
copy would be smart enough to not try to strip files that don't have symbols.
Any suggestions are welcome.
_______________________________________________
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