• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to avoid stripping dylib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Any way to force Info.plist Preprocessing?
  • Next by Date: Attaching debugger externally
  • Previous by thread: Any way to force Info.plist Preprocessing?
  • Next by thread: Attaching debugger externally
  • Index(es):
    • Date
    • Thread