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: Can an mdimporter embed some frameworks as an application ?



You could try this:

In the Build tab in the info for the target, find the Other Linker Flags option, and add this:
"-weak_framework [your framework name]"


Then, at some point before you use the framework in the importer, load the framework manually by calling:
[NSBundle bundleWithPath:@"path/to/your/framework"]



This has worked for me in the past with plugins, good luck!


On May 27, 2005, at 3:14 PM, Eric Slosser wrote:

Aurelian wrote about have problems with an mdimporter not being able to find frameworks referenced via: @executable_path/../ Frameworks/...

I'm guessing the problem is that @executable_path isn't the mdimporter's location, but what's the workaround?
--
//-------------------------------------------------
email@hidden Virtual-FX, Inc. 617 388-3765
_______________________________________________
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: 
 >Re: Can an mdimporter embed some frameworks as an application ? (From: Eric Slosser <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.