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: Problem with linking against a private framework



It wont work like this. It will work in case of stand alone application, but not in case of "loadable bundle". On tiger, you can use @ loader_path. On panther you can do nothing.

Read this about @loader_path: http://developer.apple.com/releasenotes/ DeveloperTools/dyld.html

On Jan 3, 2006, at 1:48 PM, Julio Cesar Silva dos Santos wrote:

Yes, you should change the installation path of your framework. Open your framework project in XCode, control-click on Target's icon and select 'Get Info'. Select the 'Build' tab and change the value for Installation Directory from ($HOME)/Applications to @executable_path/../Frameworks and build it again.

Julio Cesar Santos
email@hidden
eMac 1GHz ComboDrive
640MB RAM
Linux User #359973


On 03/01/2006, at 16:17, Damien Sorresso wrote:

I've got a loadable bundle that relies on a private framework I'm embedding. The framework is copied into the bundle's "Frameworks" directory, and I'm linking against it in Xcode, but whenever the bundle is loaded, the app complains that it couldn't find the framework in /Library/Frameworks.

This is getting really frustrating. I've checked everything in Apple's framework guide, and I'm pretty sure I'm doing everything correctly. Do I need to add anything to my frameworks search paths for deployment?

--
Damien Sorresso
Macintosh Developer
Computer Infrastructure Support Services
Illinois State University
email@hidden
309.438.5777
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Problem with linking against a private framework (From: Damien Sorresso <email@hidden>)
 >Re: Problem with linking against a private framework (From: Julio Cesar Silva dos Santos <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.