Workaround for unknown load command error
Workaround for unknown load command error
- Subject: Workaround for unknown load command error
- From: Kevin Brock <email@hidden>
- Date: Thu, 15 Oct 2009 14:39:52 -0700
The "unknown load command" error that is sometimes seen when compiling
a project on 10.5 using a 3rd party framework compiled on 10.6 is
related to the "Copy Files" build phase. If the framework isn't being
copied into the bundle then the framework isn't stripped, and the error
isn't seen.
If you're copying the framework into your bundle, then the error can be
avoided if "Strip Debug Symbols During Copy" is turned off
in the project using the framework. It's on by default.
If the copy files build phase also includes one of your own frameworks
that you want stripped, you'll need to do that before the copy files
phase.
YMMV, but this worked for me when building several projects on 10.5
that were using frameworks compiled on 10.6. If the frameworks were
compiled on 10.6 for targets *before* 10.5, then this error doesn't
show up.
Kevin
|
_______________________________________________
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