Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding dynamic library to application folder



On Jan 30, 2004, at 1:53 AM, Hire wrote:

Hello

I have one sample application using XCode.This sample depends
on dynamic library. I would like to copy this dynamic library
in application bundle in MacOS whenever I build application.


Yes.

Add a new build phase to the target of type "Copy Files". The destination popup should be set to "Frameworks". The path field should be left blank.

Then, drag the file into the Copy Files build phase on the left-hand side of your project window.

The dynamic library will need to have its install path set to "@executable_path/../Frameworks/<dynamic library name>" (where <dynamic library name> is the name of the library).

Wade
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Adding dynamic library to application folder (From: "Hire" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.