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: Frameworks



On 2004/01/29, at 11:06, Bernard Meers wrote:

>> Clark Cox wrote:
>> When building the framework, you must set it's install path to
>> "@executable_path/../Frameworks", so that the linker knows where the
>> framework will be relative to the application.
> It still is not working.
> I have 2 different projects, 1 for the Framework  and 1 for the App.
> I did what you wrote and went to the menu "Project:Show Inspector.
> There in the styles Tab I filled in
>  "@executable_path/../Frameworks" for the Installation Path.
> I compiled the Framework.

	So far so good


> Then I opened my Application package, copied the newly created 
> Framework in
> the MedusaTest.app/Frameworks/

	Don't do this. You shouldn't have to manually copy the framework into 
the application. Instead, you should add a Copy Files build phase to 
your target.


-- 
Clark S. Cox III
email@hidden
http://homepage.mac.com/clarkcox3/
http://homepage.mac.com/clarkcox3/blog/B1196589870/index.html

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.



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.