Copying dependent frameworks
Copying dependent frameworks
- Subject: Copying dependent frameworks
- From: Doug Hill <email@hidden>
- Date: Wed, 16 Apr 2008 14:31:13 -0700
I'm trying to copy some dependent frameworks into my application
bundle at build time.
In my Xcode project, I drag the the Xcode project for the dependent
framework into my application Xcode project. I then click the
triangle and disclose the framework icon. I drag this into my Link
Libraries build phase and into a Copy Files build phase. When I do
the build it links OK, but fails in the Copy Files build phase. It
seems to be wanting to copy the dependent frameworks from my
Application build folder rather than the framework build folder.
Looking at the Framework Programming Guide, it says to drag the icon
for the dependent framework from it's project Products folder to the
Copy Files build phase in the Application project. This works but
will only copy the Debug version of my dependent framework rather
than the correct one for the configuration I'm building.
So, I would greatly appreciate any hints, tips, or pointers to info
on how to do this correctly. It seems like I could create a script to
do this, and reference the correct configuration build folder using
$CONFIGURATION, but I'd rather have a Copy Files build phase instead.
Thanks for any info.
Doug Hill
Oracle Corp.
_______________________________________________
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